path: munin_2.0.76-6/debian/changelog * debian/munin-node.init: - Handle pidofproc() supplying the correct return code in the situation where the daemon is dead while the pid file exists. This was a bug in lsb-base (#381684) up to and including version 3.1-10. path: munin_2.0.76-6/plugins/node.d/ejabberd_.in EJCTL=$(command -v ejabberdctl || true) # get ejabberd PID # in GNU/Linux Debian Lenny release the pidof command can be executed only by root #EJPID=$(pidof -s /usr/lib/erlang/erts-5.6.3/bin/beam.smp) EJPID=$(ps -ef | awk '/ejabberd/ && /\/bin\/beam(.smp)?/ {print $2}') path: munin_2.0.76-6/plugins/node.d/ejabberd_.in # get ejabberd PID # in GNU/Linux Debian Lenny release the pidof command can be executed only by root #EJPID=$(pidof -s /usr/lib/erlang/erts-5.6.3/bin/beam.smp) EJPID=$(ps -ef | awk '/ejabberd/ && /\/bin\/beam(.smp)?/ {print $2}') SUPPORTED_MODES="connections users registrations statuses memory threads uptime"