aboutsummaryrefslogtreecommitdiffstats
path: root/net/ntop/files
diff options
context:
space:
mode:
authorwjv <wjv@FreeBSD.org>2002-06-26 21:24:41 +0800
committerwjv <wjv@FreeBSD.org>2002-06-26 21:24:41 +0800
commit6d9586d8c7ba109c5a2511371b31afe57b04d6a8 (patch)
treea44a520237ee26c9af1a6a269b8ef16303925533 /net/ntop/files
parentf1a29d1976fdf6dc2b95d624789cc996205a5fa9 (diff)
downloadfreebsd-ports-gnome-6d9586d8c7ba109c5a2511371b31afe57b04d6a8.tar.gz
freebsd-ports-gnome-6d9586d8c7ba109c5a2511371b31afe57b04d6a8.tar.zst
freebsd-ports-gnome-6d9586d8c7ba109c5a2511371b31afe57b04d6a8.zip
- Fix an error I introduced into rc.d startup script during previous commit.
- Bump PORTREVISION
Diffstat (limited to 'net/ntop/files')
-rw-r--r--net/ntop/files/ntop.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ntop/files/ntop.sh b/net/ntop/files/ntop.sh
index 0bb75a6fedf9..920ba0eacf19 100644
--- a/net/ntop/files/ntop.sh
+++ b/net/ntop/files/ntop.sh
@@ -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"