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
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
condrestart() {
if [ ! -f /var/lock/subsys/munin-asyncd ]; then
- msg_not_running "munin-asyncd"
+ msg_not_running "Munin Asyncd"
RETVAL=$1
return
fi