diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2017-12-04 17:17:17 -0600 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2017-12-04 17:17:17 -0600 |
commit | a2447dfb420cbd97a65cc085404c031d42cb3dfb (patch) | |
tree | eb6c24f86871ec83a905433323a85a1562d57dee /man/rc-service.8 | |
parent | cee3919908c2d715fd75a796873e3308209a4c2e (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.8 | 4 |
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 ... |