Lines 31-37
Link Here
|
31 |
find_pidfile() |
31 |
find_pidfile() |
32 |
{ |
32 |
{ |
33 |
if type get_pidfile_from_conf >/dev/null 2>&1 && |
33 |
if type get_pidfile_from_conf >/dev/null 2>&1 && |
34 |
get_pidfile_from_conf pid_file $munin_node_config; then |
34 |
get_pidfile_from_conf pid_file $munin_sched_config; then |
35 |
pidfile="${_pidfile_from_conf%node*}sched" |
35 |
pidfile="${_pidfile_from_conf%node*}sched" |
36 |
pidfile="${pidfile}${_pidfile_from_conf#*node}" |
36 |
pidfile="${pidfile}${_pidfile_from_conf#*node}" |
37 |
else |
37 |
else |