diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2004-07-25 08:52:51 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2004-07-25 08:52:51 +0000 |
commit | ff622b2d5dfa41a4a63c98f81e5927fac8fb03dc (patch) | |
tree | 84a8e09acdd31a4fe56a6e204082a42b94742be0 /sysutils/daemontools | |
parent | ff6fd35ef8189a95c62a25e78c84ab86d8c48462 (diff) | |
download | ports-ff622b2d5dfa41a4a63c98f81e5927fac8fb03dc.tar.gz ports-ff622b2d5dfa41a4a63c98f81e5927fac8fb03dc.zip |
Notes
Diffstat (limited to 'sysutils/daemontools')
-rw-r--r-- | sysutils/daemontools/Makefile | 8 | ||||
-rw-r--r-- | sysutils/daemontools/files/svscan.sh.sample | 3 |
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 () { |