From a92241940032fe3950eedc8c4542987bcdbcf581 Mon Sep 17 00:00:00 2001 From: Ricardo J. Barberis Date: Mon, 19 Nov 2018 10:14:25 +0000 Subject: system/collectd: Updated for version 5.8.1. Signed-off-by: David Spencer --- system/collectd/rc.collectd | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'system/collectd/rc.collectd') diff --git a/system/collectd/rc.collectd b/system/collectd/rc.collectd index 2323395929..098c01656c 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 } -- cgit v1.2.3