summary refs log tree commit diff
path: root/etc
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2003-10-29 11:19:03 +0000
committerGerrit Pape <pape@smarden.org>2003-10-29 11:19:03 +0000
commit2762f72fe4238827235a2e1249955aeff030a7fb (patch)
tree0aca719ef8e83c2b13179745121d210ec76e28a5 /etc
parent72dfd7484b220331a212f19699db782a45bbae85 (diff)
downloadrunit-2762f72fe4238827235a2e1249955aeff030a7fb.tar.gz
runit-2762f72fe4238827235a2e1249955aeff030a7fb.tar.xz
runit-2762f72fe4238827235a2e1249955aeff030a7fb.zip
* 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.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/22
-rwxr-xr-xetc/debian/34
-rwxr-xr-xetc/freebsd/32
-rwxr-xr-xetc/macosx/StartupItems/runit2
-rwxr-xr-xetc/openbsd/34
5 files changed, 7 insertions, 7 deletions
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