summaryrefslogtreecommitdiffstats
path: root/debian/bcfg2-report-collector.init
Commit message (Collapse)AuthorAgeFilesLines
* Pass through retval from start, stop, status, etc.Michael Fenn2013-03-281-2/+7
| | | | | | | | | | | | | | | | | | The various init scripts have the usual start, stop, and status functions which are called from a case statement. The functions even nicely return various values for success and failure. Unfortunately, those values were not passed all the way back to the calling shell. Previously, the init scripts would return 0 if any of start, stop, or status failed. This commit ensures that they they pass the return value back to the caller. Why does this matter? Well, beyond just being generally good citizens, bcfg2's own chkconfig client tool expects stopped services to return a non-zero exit code when their status function is called. Otherwise it flags the service state as incorrect and tries to stop it on every run.
* Fix bcfg2-report-collector initscriptTim Laszlo2012-10-181-5/+3
| | | | | | pidof does not exist on rhel5 stop functions incorrectly set /var/lock/subsys/bcfg2-report-collector killproc used the wrong syntax
* add init scriptTim Laszlo2012-10-081-0/+108