From 703bdbf88e60b98b1fcee8aa376932bbe75bae86 Mon Sep 17 00:00:00 2001 From: Aaditya Bagga Date: Thu, 8 Nov 2018 19:13:02 +0530 Subject: supervise runsvdir daemon This fixes #254. --- init.d/runsvdir.in | 4 ++-- 1 file 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() -- cgit v1.2.3