rc-service: add --ifstarted and --ifstopped options

This commit is contained in:
William Hubbs
2018-05-16 13:25:22 -05:00
parent 56870d0db1
commit 08da36149c
2 changed files with 23 additions and 1 deletions

View File

@@ -40,6 +40,14 @@
.Ar service cmd
.Op Ar ...
.Nm
.Op Fl s , -ifstarted
.Ar service cmd
.Op Ar ...
.Nm
.Op Fl S , -ifstopped
.Ar service cmd
.Op Ar ...
.Nm
.Fl e , -exists
.Ar service
.Nm