diff options
Diffstat (limited to 'network/ntop/rc.ntop')
-rw-r--r-- | network/ntop/rc.ntop | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/network/ntop/rc.ntop b/network/ntop/rc.ntop index 0d468cf7997fc..1b89f4804a138 100644 --- a/network/ntop/rc.ntop +++ b/network/ntop/rc.ntop @@ -7,8 +7,8 @@ # time and the various cleanups in the script and the start|stop|restart # functions. -NTOPUID=ntop -NTOPGID=ntop +NTOPUID=@NTOPUSER@ +NTOPGID=@NTOPGROUP@ NTOPLOG=/var/log/ntop DATE=$(date +%a\ %b\ %d\ %T\ %Y) RETVAL=0 @@ -31,7 +31,7 @@ ntop_start() { RETVAL=$? if [ $RETVAL -eq 0 ]; then - touch /var/lock/subsys/ntop + touch /var/lock/ntop sleep 2 echo "Done" else @@ -66,7 +66,7 @@ ntop_stop() { echo "Done" fi fi - rm -f /var/lock/subsys/ntop + rm -f /var/lock/ntop fi return $RETVAL } |