summaryrefslogtreecommitdiff
path: root/system/collectd/rc.collectd
diff options
context:
space:
mode:
authorRicardo J. Barberis <ricardo.barberis@gmail.com>2018-11-19 10:14:25 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-24 12:35:11 +0700
commita92241940032fe3950eedc8c4542987bcdbcf581 (patch)
tree0dde710d4863d717dafd4e67082fad79dc4efc70 /system/collectd/rc.collectd
parent73ab82dd3b0c363e23692df817251ec4ec7b910f (diff)
downloadslackbuilds-a92241940032fe3950eedc8c4542987bcdbcf581.tar.gz
system/collectd: Updated for version 5.8.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/collectd/rc.collectd')
-rw-r--r--system/collectd/rc.collectd12
1 files changed, 6 insertions, 6 deletions
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
}