5
# NOTE: Copy this script in /etc/init.d/ntop
8
# Paul Mansfield <paul.mansfield@uk.worldpay.com>
11
# Fixed by L.Deri - May 2007
17
DAEMON=/usr/local/bin/ntop
18
test -x $DAEMON || exit 0
21
echo -n "Starting ntop "
22
$DAEMON -u nobody > /var/log/ntop.out &
27
echo -n "Stopping ntop "
28
if test -f /var/run/ntop.pid ; then
29
kill `cat /var/run/ntop.pid`
30
echo -n " killed pid `cat /var/run/ntop.pid`"
51
$DAEMON -u nobody --set-admin-password=admin
55
echo "Usage: /etc/init.d/$NAME {start|stop|restart|install}"
b'\\ No newline at end of file'