rc-service: add --ifcrashed option
This works like the other --if options. If the service is crashed, run the command. This fixes #154.
This commit is contained in:
@@ -16,6 +16,10 @@
|
||||
.Nd locate and run an OpenRC service with the given arguments
|
||||
.Sh SYNOPSIS
|
||||
.Nm
|
||||
.Op Fl c , -ifcrashed
|
||||
.Ar service cmd
|
||||
.Op Ar ...
|
||||
.Nm
|
||||
.Op Fl i , -ifexists
|
||||
.Ar service cmd
|
||||
.Op Ar ...
|
||||
|
||||
Reference in New Issue
Block a user