summary refs log tree commit diff
path: root/etc
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2008-04-20 20:47:39 +0000
committerGerrit Pape <pape@smarden.org>2008-04-20 20:48:13 +0000
commit29c4521100d47a589c89ef3145db61f9e4a00cf9 (patch)
treeb507e644dbeb58afa4eecec9874d24e02e4fc43e /etc
parented673f8f525aead9418d34faea94b83c71b4eaa7 (diff)
downloadrunit-29c4521100d47a589c89ef3145db61f9e4a00cf9.tar.gz
runit-29c4521100d47a589c89ef3145db61f9e4a00cf9.tar.xz
runit-29c4521100d47a589c89ef3145db61f9e4a00cf9.zip
* change default directory for services from /var/service/ to /service/.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/22
-rwxr-xr-xetc/debian/34
-rwxr-xr-xetc/freebsd/34
-rwxr-xr-xetc/macosx/StartupItems/runit4
-rw-r--r--etc/macosx/org.smarden.runit.plist2
-rwxr-xr-xetc/openbsd/34
6 files changed, 10 insertions, 10 deletions
diff --git a/etc/2 b/etc/2
index 9720c3e..3bb822d 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 -P /var/service 'log: ...........................................................................................................................................................................................................................................................................................................................................................................................................'
+runsvdir -P /service 'log: ...........................................................................................................................................................................................................................................................................................................................................................................................................'
diff --git a/etc/debian/3 b/etc/debian/3
index 5931ce6..10354d7 100755
--- a/etc/debian/3
+++ b/etc/debian/3
@@ -7,8 +7,8 @@ LAST=0
 test -x /etc/runit/reboot && LAST=6
 
 echo 'Waiting for services to stop...'
-sv -w196 force-stop /var/service/*
-sv exit /var/service/*
+sv -w196 force-stop /service/*
+sv exit /service/*
 
 echo 'Shutdown...'
 /etc/init.d/rc $LAST
diff --git a/etc/freebsd/3 b/etc/freebsd/3
index c30bdb1..f7f9327 100755
--- a/etc/freebsd/3
+++ b/etc/freebsd/3
@@ -4,8 +4,8 @@ exec 2>&1
 PATH=/command:/sbin:/bin:/usr/sbin:/usr/bin
 
 echo 'Waiting for services to stop...'
-sv -w196 force-stop /var/service/*
-sv exit /var/service/*
+sv -w196 force-stop /service/*
+sv exit /service/*
 
 echo 'Shutdown...'
 if test -x /etc/runit/reboot; then
diff --git a/etc/macosx/StartupItems/runit b/etc/macosx/StartupItems/runit
index 6b4f0c4..9f0eaf3 100755
--- a/etc/macosx/StartupItems/runit
+++ b/etc/macosx/StartupItems/runit
@@ -12,8 +12,8 @@ StartService() {
 }
 StopService() {
   ConsoleMessage "Stopping runit service supervision"
-  sv -w196 force-stop /var/service/*
-  sv exit /var/service/*
+  sv -w196 force-stop /service/*
+  sv exit /service/*
 }
 RestartService() {
   return 0
diff --git a/etc/macosx/org.smarden.runit.plist b/etc/macosx/org.smarden.runit.plist
index 5c4820f..1331f8a 100644
--- a/etc/macosx/org.smarden.runit.plist
+++ b/etc/macosx/org.smarden.runit.plist
@@ -8,7 +8,7 @@
 	<string>runsvdir - starts and monitors a collection of runsv(8) processes</string>
 	<key>QueueDirectories</key>
 	<array>
-		<string>/var/service</string>
+		<string>/service</string>
 	</array>
 	<key>OnDemand</key>
 	<false/>
diff --git a/etc/openbsd/3 b/etc/openbsd/3
index c30bdb1..f7f9327 100755
--- a/etc/openbsd/3
+++ b/etc/openbsd/3
@@ -4,8 +4,8 @@ exec 2>&1
 PATH=/command:/sbin:/bin:/usr/sbin:/usr/bin
 
 echo 'Waiting for services to stop...'
-sv -w196 force-stop /var/service/*
-sv exit /var/service/*
+sv -w196 force-stop /service/*
+sv exit /service/*
 
 echo 'Shutdown...'
 if test -x /etc/runit/reboot; then