aboutsummaryrefslogtreecommitdiff
path: root/man/rc-service.8
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2017-12-04 17:17:17 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2017-12-04 17:17:17 -0600
commita2447dfb420cbd97a65cc085404c031d42cb3dfb (patch)
treeeb6c24f86871ec83a905433323a85a1562d57dee /man/rc-service.8
parentcee3919908c2d715fd75a796873e3308209a4c2e (diff)
rc-service: add --ifcrashed option
This works like the other --if options. If the service is crashed, run the command. This fixes #154.
Diffstat (limited to 'man/rc-service.8')
-rw-r--r--man/rc-service.84
1 files changed, 4 insertions, 0 deletions
diff --git a/man/rc-service.8 b/man/rc-service.8
index 80deb5eb..8f075de4 100644
--- a/man/rc-service.8
+++ b/man/rc-service.8
@@ -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 ...