diff options
author | nork <nork@FreeBSD.org> | 2004-07-25 16:52:51 +0800 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2004-07-25 16:52:51 +0800 |
commit | ee39178a812ce9731751298cb1c7b7a4c3985da1 (patch) | |
tree | 8330ede210e6eec6e028ebaba8459dc0e38e60d1 /sysutils/daemontools | |
parent | 8b4020378ccb221eaf8084609709d0ecec63cba4 (diff) | |
download | freebsd-ports-gnome-ee39178a812ce9731751298cb1c7b7a4c3985da1.tar.gz freebsd-ports-gnome-ee39178a812ce9731751298cb1c7b7a4c3985da1.tar.zst freebsd-ports-gnome-ee39178a812ce9731751298cb1c7b7a4c3985da1.zip |
o portlint clean. [1]
o print start message. [1]
o daemon(8)'ify. [2]
o bump PORTREVISION accordingly.
PR: ports/68558 [1]
Submitted by: Renato Botelho <renato@galle.com.br> [1]
myself [2]
Reviewed by: roam [2]
Approved by: roam (blanket)
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 () { |