summaryrefslogtreecommitdiffstats
path: root/debian/bcfg2.init
Commit message (Collapse)AuthorAgeFilesLines
* Pass through retval from start, stop, status, etc.Michael Fenn2013-03-281-3/+6
| | | | | | | | | | | | | | | | | | 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.
* add "status" command to bcfg2 init scriptsChris St. Pierre2012-11-141-7/+8
|
* debian: Merge in changes from Arto JantunenSol Jerome2010-08-111-66/+10
| | | | | | | | | bcfg2.init: Remove agent mode (no longer exists) POSIX.py: Fix hardcoded errno value Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6005 ce84e21b-d406-0410-9b95-82705330c041
* Add new Debian packaging from Sami HaahtinenSol Jerome2009-10-291-0/+141
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5512 ce84e21b-d406-0410-9b95-82705330c041
* Packaging changes from ressuNarayan Desai2006-08-011-70/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2019 ce84e21b-d406-0410-9b95-82705330c041
* LSB updates from Ressu (should resolve ticket #81)Narayan Desai2006-07-311-8/+9
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2017 ce84e21b-d406-0410-9b95-82705330c041
* Commit of Sami's debian packaging improvementsNarayan Desai2006-07-201-9/+41
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1979 ce84e21b-d406-0410-9b95-82705330c041
* Change init script to run hot by defaultNarayan Desai2006-07-071-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1913 ce84e21b-d406-0410-9b95-82705330c041
* Roll up minor patches changing logging and the init scriptNarayan Desai2006-04-261-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1853 ce84e21b-d406-0410-9b95-82705330c041
* Derive client options from /etc/default/bcfg2 (Resolves ticket #45)Narayan Desai2006-04-251-1/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1852 ce84e21b-d406-0410-9b95-82705330c041
* add force reloadNarayan Desai2004-10-301-0/+3
| | | | | | | (Logical change 1.130) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@587 ce84e21b-d406-0410-9b95-82705330c041
* Rename: bcfg2.init -> debian/bcfg2.initNarayan Desai2004-10-271-0/+32
| | | | | | | (Logical change 1.121) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@538 ce84e21b-d406-0410-9b95-82705330c041
* Initial revisionNarayan Desai2004-10-271-0/+0
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@534 ce84e21b-d406-0410-9b95-82705330c041