diff options
author | Aaditya Bagga <aaditya_gnulinux@zoho.com> | 2018-11-08 19:13:02 +0530 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2021-12-20 22:32:36 -0600 |
commit | 703bdbf88e60b98b1fcee8aa376932bbe75bae86 (patch) | |
tree | 3b20208dd8f4439ada6f360b00e359f191765081 /init.d | |
parent | 301161a7a4bda27c7ebd54c537dfec0cbc926365 (diff) |
supervise runsvdir daemon
This fixes #254.
Diffstat (limited to 'init.d')
-rw-r--r-- | init.d/runsvdir.in | 4 |
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() |