diff options
Diffstat (limited to 'system/collectd/rc.collectd')
-rw-r--r-- | system/collectd/rc.collectd | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/system/collectd/rc.collectd b/system/collectd/rc.collectd index 23233959292fb..098c01656caff 100644 --- a/system/collectd/rc.collectd +++ b/system/collectd/rc.collectd @@ -12,11 +12,11 @@ pidfile=/var/run/collectd.pid start() { [ -x $exec ] || exit 5 if [ -f $pidfile ]; then - echo "Seems that an active process is up and running with pid $(cat $pidfile)" - echo "If this is not true try first to remove pidfile $pidfile" - exit 5 + echo "Seems that an active process is up and running with pid $(cat $pidfile)" + echo "If this is not true try first to remove pidfile $pidfile" + exit 5 fi - echo $"Starting $prog" + echo $"Starting $prog" $exec -P $pidfile -C $configfile } @@ -33,9 +33,9 @@ status() { CHECK=$(ps aux | grep $exec | grep -v grep) STATUS=$? if [ "$STATUS" == "1" ]; then - echo "not running" + echo "not running" else - echo "running" + echo "running" fi } |