aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/daemontools
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/daemontools')
-rw-r--r--sysutils/daemontools/Makefile8
-rw-r--r--sysutils/daemontools/files/svscan.sh.sample3
2 files changed, 6 insertions, 5 deletions
diff --git a/sysutils/daemontools/Makefile b/sysutils/daemontools/Makefile
index a11a0572f4db..9d4b248e4622 100644
--- a/sysutils/daemontools/Makefile
+++ b/sysutils/daemontools/Makefile
@@ -7,12 +7,15 @@
PORTNAME= daemontools
PORTVERSION= 0.76
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= sysutils
MASTER_SITES= http://cr.yp.to/daemontools/ \
ftp://cr.yp.to/daemontools/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
+MAINTAINER= roam@FreeBSD.org
+COMMENT= "Service monitoring and logging utilities by djb"
+
.if !defined(WITHOUT_MAN)
MANDATE= -20010714
MASTER_SITES+= http://smarden.org/pape/djb/manpages/:1
@@ -25,9 +28,6 @@ MAN8= envdir.8 envuidgid.8 fghack.8 multilog.8 pgrphack.8 \
MANCOMPRESSED= no
.endif
-MAINTAINER= roam@FreeBSD.org
-COMMENT= "Service monitoring and logging utilities by djb"
-
USE_RC_SUBR= yes
RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} SERVICEDIR=${SERVICEDIR}
diff --git a/sysutils/daemontools/files/svscan.sh.sample b/sysutils/daemontools/files/svscan.sh.sample
index 19a4307d78d4..a294db3f4115 100644
--- a/sysutils/daemontools/files/svscan.sh.sample
+++ b/sysutils/daemontools/files/svscan.sh.sample
@@ -62,7 +62,8 @@ required_dirs="${svscan_servicedir}"
svscan_start () {
/usr/bin/env \
PATH=%%PREFIX%%/sbin:%%PREFIX%%/bin:/usr/sbin:/usr/bin:/sbin:/bin \
- /bin/sh -c "$command $svscan_servicedir 2>&1 | %%PREFIX%%/bin/readproctitle service errors: ................................................................................................................................................................................................................................................................................................................................................................................................................ &" > /dev/null
+ /usr/sbin/daemon -f /bin/sh -c "$command $svscan_servicedir | %%PREFIX%%/bin/readproctitle service errors: ................................................................................................................................................................................................................................................................................................................................................................................................................ 2>&1 &"
+ echo "Starting svscan."
}
svscan_stop_post () {