aboutsummaryrefslogtreecommitdiff
path: root/man/runscript.8
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2012-01-15 02:10:35 +0100
committerChristian Ruppert <idl0r@gentoo.org>2012-01-15 02:10:35 +0100
commit30a56cdb4680f90e6c371c75c27c6ecec2d7aeec (patch)
treeff9d19dcc2503bcf3ca7600d7cbad00725b69cdf /man/runscript.8
parent14625346c07a2a66fe77ce578c9423918bec1d97 (diff)
Add "ifstopped" command to runscript
Signed-off-by: Christian Ruppert <idl0r@gentoo.org>
Diffstat (limited to 'man/runscript.8')
-rw-r--r--man/runscript.83
1 files changed, 3 insertions, 0 deletions
diff --git a/man/runscript.8 b/man/runscript.8
index 6ad6031b..dbc0b7dc 100644
--- a/man/runscript.8
+++ b/man/runscript.8
@@ -32,6 +32,7 @@
.Op Fl D , -nodeps
.Op Fl d , -debug
.Op Fl s , -ifstarted
+.Op Fl S , -ifstopped
.Op Fl Z , -dry-run
.Op Ar command ...
.Sh DESCRIPTION
@@ -76,6 +77,8 @@ Set xtrace on in the shell to assist in debugging.
Ignore all dependency information the service supplies.
.It Fl s , -ifstarted
Only run the command if the service has been started.
+.It Fl S , -ifstopped
+Only run the command if the service has been stopped.
.It Fl q , -quiet
Turns off all informational output the service generates.
Output from any non OpenRC commands is not affected.