mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Fix an error I introduced into rc.d startup script during previous commit.
- Bump PORTREVISION
This commit is contained in:
parent
fb2fcebc25
commit
ae896a0c22
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=62018
2 changed files with 4 additions and 3 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= ntop
|
||||
PORTVERSION= 2.0.99.r2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://luca.ntop.org/ \
|
||||
${MASTER_SITE_SOURCEFORGE}
|
||||
|
|
|
@ -19,7 +19,7 @@ http_port='3000'
|
|||
https_port='3001'
|
||||
|
||||
# Directory for ntop.access.log
|
||||
logdir='%%LOGDIR%%/ntop.access.log'
|
||||
logdir='%%LOGDIR%%'
|
||||
|
||||
# Specify any additional arguments here - see ntop(8)
|
||||
additional_args='-E'
|
||||
|
@ -28,12 +28,12 @@ additional_args='-E'
|
|||
# End of user-configurable variables
|
||||
#----------------------------------------------------------------------
|
||||
|
||||
args='-d -t0'
|
||||
args='-d -L'
|
||||
|
||||
[ ! -z $interfaces ] && args="$args -i $interfaces"
|
||||
[ ! -z $http_port ] && args="$args -w $http_port"
|
||||
[ ! -z $https_port ] && args="$args -W $https_port"
|
||||
[ ! -z $logdir ] && args="$args -a ${logdir}"
|
||||
[ ! -z $logdir ] && args="$args -a ${logdir}/ntop.access.log"
|
||||
[ ! -z $userid ] && args="$args -u $userid"
|
||||
[ ! -z "$additional_args" ] && args="$args $additional_args"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue