summary refs log tree commit diff
path: root/man/sv.8
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2009-10-11 19:55:52 +0000
committerGerrit Pape <pape@smarden.org>2014-08-01 06:57:26 +0000
commit5e1bdbe972b5cfb3b22bbf83a0142affa199a99b (patch)
treeb99c1d2fa73a67ed7fc0504f42eed300219180b0 /man/sv.8
parent945f6cececd9b4f3dcd35bd28b468f19596939b9 (diff)
downloadrunit-5e1bdbe972b5cfb3b22bbf83a0142affa199a99b.tar.gz
runit-5e1bdbe972b5cfb3b22bbf83a0142affa199a99b.tar.xz
runit-5e1bdbe972b5cfb3b22bbf83a0142affa199a99b.zip
* sv.c: support optional LSB init script actions reload and
    try-restart.

http://bugs.debian.org/545227
Diffstat (limited to 'man/sv.8')
-rw-r--r--man/sv.814
1 files changed, 14 insertions, 0 deletions
diff --git a/man/sv.8 b/man/sv.8
index 7b09602..7ed9852 100644
--- a/man/sv.8
+++ b/man/sv.8
@@ -112,6 +112,11 @@ Same as
 but wait up to 7 seconds for the service to become down.
 Then report the status or timeout.
 .TP
+.B reload
+Same as
+.IR hup ,
+and additionally report the status afterwards.
+.TP
 .B restart
 Send the commands
 .IR term ,
@@ -183,6 +188,15 @@ process to terminate.
 Then report the status, and on timeout send the service the
 .I kill
 command.
+.TP
+.B try-restart
+if the service is running, send it the
+.I term
+and
+.I cont
+commands, and wait up to 7 seconds for the service to restart.
+Then report the status or timeout.
+
 .SS Additional Commands
 .TP
 .B check