X-Git-Url: https://git.tld-linux.org/?p=packages%2Fmunin.git;a=blobdiff_plain;f=munin-asyncd.init;h=4c2ebea335dc0ece26a9560a8406b45bf2dcbaec;hp=5340110fac186e1f558555f8d0422400a7e8d6aa;hb=6fd4bf1be3920a9cefcd77865f6ec9b59015acb7;hpb=11d3c3b815e462e7351fea6aa7b7a242241199f4 diff --git a/munin-asyncd.init b/munin-asyncd.init index 5340110..4c2ebea 100755 --- a/munin-asyncd.init +++ b/munin-asyncd.init @@ -34,11 +34,11 @@ MUNIN_ASYNCD_SHUTDOWN_TIMEOUT=${MUNIN_ASYNCD_SHUTDOWN_TIMEOUT:-15} start() { # Check if the service is already running? if [ -f /var/lock/subsys/munin-asyncd ]; then - msg_already_running "munin-asyncd" + msg_already_running "Munin Asyncd" return fi - msg_starting "munin-asyncd" + msg_starting "Munin Asyncd" daemon --fork /usr/sbin/munin-asyncd --host ${MUNIN_NODE_HOST}:${MUNIN_NODE_PORT} RETVAL=$? [ $RETVAL -eq 0 ] && touch /var/lock/subsys/munin-asyncd @@ -46,11 +46,11 @@ start() { stop() { if [ ! -f /var/lock/subsys/munin-asyncd ]; then - msg_not_running "munin-asyncd" + msg_not_running "Munin Asyncd" return fi - msg_stopping "munin-asyncd" + msg_stopping "Munin Asyncd" busy # We can't kill by process name, asyncd is changing it dynamically # so we simply send TERM to all asyncd processes @@ -75,7 +75,7 @@ stop() { condrestart() { if [ ! -f /var/lock/subsys/munin-asyncd ]; then - msg_not_running "munin-asyncd" + msg_not_running "Munin Asyncd" RETVAL=$1 return fi