aboutsummaryrefslogtreecommitdiff
path: root/network/ntop/rc.ntop
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@gmail.com>2010-05-13 00:37:40 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:37:40 +0200
commit8e76bfd2c826db393f7523867938868cc004c93c (patch)
tree5baebdc1ca67b803848db3700ae77b86ac4fe501 /network/ntop/rc.ntop
parent608dafae2e215562a1b7c20353535d07834f44f7 (diff)
network/ntop: Updated for version 3.3.10
Diffstat (limited to 'network/ntop/rc.ntop')
-rw-r--r--network/ntop/rc.ntop8
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
}