summary refs log tree commit diff
path: root/etc/macosx
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/macosx
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/macosx')
-rwxr-xr-xetc/macosx/StartupItems/runit4
-rw-r--r--etc/macosx/org.smarden.runit.plist2
2 files changed, 3 insertions, 3 deletions
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/>