aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.d/runsvdir.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.d/runsvdir.in b/init.d/runsvdir.in
index 6c476cf7..beed960a 100644
--- a/init.d/runsvdir.in
+++ b/init.d/runsvdir.in
@@ -9,9 +9,9 @@
# This file may not be copied, modified, propagated, or distributed
# except according to the terms contained in the LICENSE file.
+supervisor=supervise-daemon
command=/usr/bin/runsvdir
-command_background=yes
-pidfile=/var/run/runsvdir.pid
+pidfile="/var/run/${RC_SVCNAME}.pid"
command_args="-P $RC_SVCDIR/sv 'log: ...........................................................................................................................................................................................................................................................................................................................................................................................................'"
start_pre()