#!/bin/sh
#
-# netdata Real-time charts for system monitoring
+# netdata Real-time performance monitoring, done right
# chkconfig: 345 99 01
-# description: Netdata is a daemon that collects data in realtime (per second)
+# description: Netdata is a daemon that collects data in real-time (per second)
# and presents a web site to view and analyze them. The presentation
# is also real-time and full of interactive charts that precisely
# render all collected values.
DAEMON="netdata"
DAEMON_PATH=@sbindir_POST@
PIDFILE=@localstatedir_POST@/$DAEMON.pid
-DAEMONOPTS="-pidfile $PIDFILE"
+DAEMONOPTS="-P $PIDFILE"
STOP_TIMEOUT="10"
service_start()
{
if ! service_status > /dev/null; then
RETVAL=$1
- return
+ return $RETVAL
fi
service_stop