Wrong exit code from initscript ganglia-monitor in package ganglia-monitor_3.6.0
Bug #1366980 reported by
Dmitry
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ganglia (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
if process already run and exec initscript with start option than get exit code 1 instead 0.
# ps aux | grep ganglia
ganglia 3687 0.0 0.2 56348 2148 ? Ssl 15:22 0:07 /usr/sbin/gmond --pid-file /var/run/gmond.pid
# /etc/init.
Starting Ganglia Monitor Daemon: 1
Related branches
To post a comment you must log in.
it's happened because in ubuntu package ganglia-monitor v3.6.0 there is init config for upstart which have a name of pidfile 'ganglia0monito r.pid', while in init.d script have a pidfile name gmond.pid.