aboutsummaryrefslogtreecommitdiffstats
path: root/testing/runit/runit.initd
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2015-08-05 01:35:24 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2015-08-07 06:47:37 +0000
commit569ca78b3b785cfeac5639718a7fa786421bc58e (patch)
treef637d5ec37b2c1cf24dcbb2f477a47393cdb93e7 /testing/runit/runit.initd
parentd5f47beac5962b58fe5bf086c10ca977bcc7c7da (diff)
downloadaports-569ca78b3b785cfeac5639718a7fa786421bc58e.tar.bz2
aports-569ca78b3b785cfeac5639718a7fa786421bc58e.tar.xz
testing/runit: change service dir
changes the service directory to /etc/service
Diffstat (limited to 'testing/runit/runit.initd')
-rw-r--r--testing/runit/runit.initd7
1 files changed, 0 insertions, 7 deletions
diff --git a/testing/runit/runit.initd b/testing/runit/runit.initd
index 979b7c6bc5..2f3a0968dc 100644
--- a/testing/runit/runit.initd
+++ b/testing/runit/runit.initd
@@ -2,7 +2,6 @@
command="/sbin/runsvdir"
command_args="/etc/service"
-rundir="/run/service"
pidfile="/run/${SVCNAME}.pid"
command_background="true"
description="starts and monitors a collection of runsv(8) processes"
@@ -13,9 +12,3 @@ depend() {
after firewall
}
-start_pre() {
- if [ ! -L "$rundir" ]; then
- rm -f $rundir && ln -s $command_args $rundir
- fi
-}
-