diff options
author | Doug Barton <dougb@FreeBSD.org> | 2010-01-05 06:24:31 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2010-01-05 06:24:31 +0000 |
commit | f8bb98003616614385d8138ba35b8886c63e98c7 (patch) | |
tree | 13e852c864d5e41145b5eae302ac251e5a57a3da /sysutils/daemontools | |
parent | a36bca97d8e33d5cefd3a90c418dd029278b8ef9 (diff) | |
download | ports-f8bb98003616614385d8138ba35b8886c63e98c7.tar.gz ports-f8bb98003616614385d8138ba35b8886c63e98c7.zip |
Notes
Diffstat (limited to 'sysutils/daemontools')
-rw-r--r-- | sysutils/daemontools/files/svscan.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysutils/daemontools/files/svscan.in b/sysutils/daemontools/files/svscan.in index 2aa1b2432fb0..f9f91a1a6a20 100644 --- a/sysutils/daemontools/files/svscan.in +++ b/sysutils/daemontools/files/svscan.in @@ -84,7 +84,7 @@ svscan_start () { EP="/usr/bin/env \ PATH=%%PREFIX%%/sbin:%%PREFIX%%/bin:/usr/sbin:/usr/bin:/sbin:/bin" if [ -z "${svscan_logdir}" ]; then - ${EP} %%DAEMON%% /bin/sh -c "$command $svscan_servicedir 2>&1 | %%PREFIX%%/bin/readproctitle service errors: ................................................................................................................................................................................................................................................................................................................................................................................................................ &" > /dev/null + ${EP} /usr/sbin/daemon -f /bin/sh -c "$command $svscan_servicedir 2>&1 | %%PREFIX%%/bin/readproctitle service errors: ................................................................................................................................................................................................................................................................................................................................................................................................................ &" > /dev/null else logmax=${svscan_logmax+s$svscan_logmax} lognum=${svscan_lognum+n$svscan_lognum} |