diff options
author | Gerrit Pape <pape@smarden.org> | 2006-03-04 14:14:47 +0000 |
---|---|---|
committer | Gerrit Pape <pape@smarden.org> | 2006-03-04 14:14:47 +0000 |
commit | 5cdc37ab3be9ae7fabfa9077e46b36f3eb913c1c (patch) | |
tree | e7d456fc5f6bca85749141fd5553f57444be5afd /etc | |
parent | a3f1d29c2db2393e2436f1bd928d353f587e2d2a (diff) | |
download | runit-5cdc37ab3be9ae7fabfa9077e46b36f3eb913c1c.tar.gz runit-5cdc37ab3be9ae7fabfa9077e46b36f3eb913c1c.tar.xz runit-5cdc37ab3be9ae7fabfa9077e46b36f3eb913c1c.zip |
* doc/faq.html: new.
* doc/benefits.html: use sv program instead of runsvstat, runsvctrl; minor. * doc/replaceinit.html, doc/runlevels.html: put getty service directory into /etc/sv/. * doc/runscripts.html: use sv program instead of svwaitup. * etc/*/3, etc/macosx/StartupItems/runit: use sv program instead of svwaitdown. * man/runsv.8: use sv program instead of runsvctrl. * man/sv.8: minor. * Makefile, package/commands: no longer build/install runsvctrl, runsvstat, svwaitdown, svwaitup. * man/runsvctrl.8, man/runsvstat.8, man/svwaitdown.8, man/svwaitup.8: remove; obsolete. * doc/index.html: add faq; remove runsvctrl, runsvstat, svwaitdown, svwaitup. * sv.c: fix usage output.
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/debian/3 | 6 | ||||
-rwxr-xr-x | etc/freebsd/3 | 3 | ||||
-rwxr-xr-x | etc/macosx/StartupItems/runit | 3 | ||||
-rwxr-xr-x | etc/openbsd/3 | 6 |
4 files changed, 8 insertions, 10 deletions
diff --git a/etc/debian/3 b/etc/debian/3 index e014e13..5931ce6 100755 --- a/etc/debian/3 +++ b/etc/debian/3 @@ -6,11 +6,9 @@ PATH=/command:/sbin:/bin:/usr/sbin:/usr/bin LAST=0 test -x /etc/runit/reboot && LAST=6 -echo 'Waiting for getties to stop...' -svwaitdown -xk -t14 /var/service/getty-* - echo 'Waiting for services to stop...' -svwaitdown -xk -t350 /var/service/* +sv -w196 force-stop /var/service/* +sv exit /var/service/* echo 'Shutdown...' /etc/init.d/rc $LAST diff --git a/etc/freebsd/3 b/etc/freebsd/3 index b04f4af..c30bdb1 100755 --- a/etc/freebsd/3 +++ b/etc/freebsd/3 @@ -4,7 +4,8 @@ exec 2>&1 PATH=/command:/sbin:/bin:/usr/sbin:/usr/bin echo 'Waiting for services to stop...' -svwaitdown -xk -t350 /var/service/* +sv -w196 force-stop /var/service/* +sv exit /var/service/* echo 'Shutdown...' if test -x /etc/runit/reboot; then diff --git a/etc/macosx/StartupItems/runit b/etc/macosx/StartupItems/runit index 916d769..6b4f0c4 100755 --- a/etc/macosx/StartupItems/runit +++ b/etc/macosx/StartupItems/runit @@ -12,7 +12,8 @@ StartService() { } StopService() { ConsoleMessage "Stopping runit service supervision" - svwaitdown -xk -t14 /var/service/* + sv -w196 force-stop /var/service/* + sv exit /var/service/* } RestartService() { return 0 diff --git a/etc/openbsd/3 b/etc/openbsd/3 index b868031..c30bdb1 100755 --- a/etc/openbsd/3 +++ b/etc/openbsd/3 @@ -3,11 +3,9 @@ exec 2>&1 PATH=/command:/sbin:/bin:/usr/sbin:/usr/bin -echo 'Waiting for getties to stop...' -svwaitdown -xk -t14 /var/service/getty-* - echo 'Waiting for services to stop...' -svwaitdown -xk -t350 /var/service/* +sv -w196 force-stop /var/service/* +sv exit /var/service/* echo 'Shutdown...' if test -x /etc/runit/reboot; then |