1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00

Add a start stop script to the port which starts up services

delayed so that every service has a chance to come up properly
before the next one begins
Additionally provide graceful delayed shutdown of services by
using killall -15.
Install startup script as .sample file, since cflowd (and flowscan)
are not easy ports. You should read the docu properly.
This commit is contained in:
Andreas Klemm 2001-03-25 10:37:36 +00:00
parent 64143fff15
commit ff2c8e595c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=40342
4 changed files with 12 additions and 2 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= cflowd
PORTVERSION= 2-1-b1
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= net
MASTER_SITES= ftp://ftp.caida.org/pub/cflowd/
DISTNAME= ${PORTNAME}-${PORTVERSION}
@ -37,4 +37,8 @@ pre-everything:
@${ECHO} "make CFLOWD_FLOWSCAN_PATCH=yes"
.endif
post-install:
${INSTALL_SCRIPT} ${FILESDIR}/cflowd.sh \
${PREFIX}/etc/rc.d/cflowd.sh.sample
.include <bsd.port.mk>

View File

@ -9,6 +9,7 @@ bin/flowdump
bin/flowwatch
etc/cfdcollect.conf.example
etc/cflowd.conf.example
etc/rc.d/cflowd.sh.sample
include/cflowd/CflowdAsMatrix.hh
include/cflowd/CflowdAsMatrixKey.hh
include/cflowd/CflowdAsMatrixTrafficCounter.hh

View File

@ -7,7 +7,7 @@
PORTNAME= cflowd
PORTVERSION= 2-1-b1
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= net
MASTER_SITES= ftp://ftp.caida.org/pub/cflowd/
DISTNAME= ${PORTNAME}-${PORTVERSION}
@ -37,4 +37,8 @@ pre-everything:
@${ECHO} "make CFLOWD_FLOWSCAN_PATCH=yes"
.endif
post-install:
${INSTALL_SCRIPT} ${FILESDIR}/cflowd.sh \
${PREFIX}/etc/rc.d/cflowd.sh.sample
.include <bsd.port.mk>

View File

@ -9,6 +9,7 @@ bin/flowdump
bin/flowwatch
etc/cfdcollect.conf.example
etc/cflowd.conf.example
etc/rc.d/cflowd.sh.sample
include/cflowd/CflowdAsMatrix.hh
include/cflowd/CflowdAsMatrixKey.hh
include/cflowd/CflowdAsMatrixTrafficCounter.hh