From 2762f72fe4238827235a2e1249955aeff030a7fb Mon Sep 17 00:00:00 2001 From: Gerrit Pape Date: Wed, 29 Oct 2003 11:19:03 +0000 Subject: * doc/benefits.html, doc/index.html, doc/replaceinit.html, doc/runlevels.html, doc/useinit.html: default service directory is /var/service; minor. * etc/2, etc/debian/3, etc/freebsd/3, etc/macosx/StartupItems/runit, etc/openbsd/3, man/runsv.8, man/runsvchdir.8, man/runsvdir.8: default service directory is /var/service. --- etc/2 | 2 +- etc/debian/3 | 4 ++-- etc/freebsd/3 | 2 +- etc/macosx/StartupItems/runit | 2 +- etc/openbsd/3 | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) (limited to 'etc') diff --git a/etc/2 b/etc/2 index 666a643..233ad00 100755 --- a/etc/2 +++ b/etc/2 @@ -3,4 +3,4 @@ PATH=/command:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin exec env - PATH=$PATH \ -runsvdir /service 'log: ...........................................................................................................................................................................................................................................................................................................................................................................................................' +runsvdir /var/service 'log: ...........................................................................................................................................................................................................................................................................................................................................................................................................' diff --git a/etc/debian/3 b/etc/debian/3 index ee39593..6777be3 100755 --- a/etc/debian/3 +++ b/etc/debian/3 @@ -7,10 +7,10 @@ LAST=0 test -r /etc/runit/reboot && LAST=6 echo 'Waiting for getties to stop...' -svwaitdown -xk -t14 /service/getty-* +svwaitdown -xk -t14 /var/service/getty-* echo 'Waiting for services to stop...' -svwaitdown -xk -t350 /service/* +svwaitdown -xk -t350 /var/service/* echo 'Shutdown...' /etc/init.d/rc $LAST diff --git a/etc/freebsd/3 b/etc/freebsd/3 index 8e1b40c..b04f4af 100755 --- a/etc/freebsd/3 +++ b/etc/freebsd/3 @@ -4,7 +4,7 @@ exec 2>&1 PATH=/command:/sbin:/bin:/usr/sbin:/usr/bin echo 'Waiting for services to stop...' -svwaitdown -xk -t350 /service/* +svwaitdown -xk -t350 /var/service/* echo 'Shutdown...' if test -x /etc/runit/reboot; then diff --git a/etc/macosx/StartupItems/runit b/etc/macosx/StartupItems/runit index 11510fb..99b0178 100755 --- a/etc/macosx/StartupItems/runit +++ b/etc/macosx/StartupItems/runit @@ -12,7 +12,7 @@ StartService() { } StopService() { ConsoleMessage "Stopping runit service supervision" - svwaitdown -k -t34 /service/* + svwaitdown -k -t34 /var/service/* } RestartService() { return 0 diff --git a/etc/openbsd/3 b/etc/openbsd/3 index d8c4f61..b868031 100755 --- a/etc/openbsd/3 +++ b/etc/openbsd/3 @@ -4,10 +4,10 @@ exec 2>&1 PATH=/command:/sbin:/bin:/usr/sbin:/usr/bin echo 'Waiting for getties to stop...' -svwaitdown -xk -t14 /service/getty-* +svwaitdown -xk -t14 /var/service/getty-* echo 'Waiting for services to stop...' -svwaitdown -xk -t350 /service/* +svwaitdown -xk -t350 /var/service/* echo 'Shutdown...' if test -x /etc/runit/reboot; then -- cgit 1.4.1