mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-21 20:38:45 +00:00
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)
This commit is contained in:
parent
ff6fd35ef8
commit
ff622b2d5d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=114627
@ -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}
|
||||
|
||||
|
@ -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 () {
|
||||
|
Loading…
Reference in New Issue
Block a user