summaryrefslogtreecommitdiffstats
path: root/debian/bcfg2-server.init
Commit message (Collapse)AuthorAgeFilesLines
* Fix bcfg2-server init script for RHELSol Jerome2013-05-291-1/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* 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.
* debian: Apply init script fixes from Arto's repoSol Jerome2012-11-151-4/+4
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* changed default pidfile location in init scripts to allow easier privilege ↵Chris St. Pierre2012-10-041-1/+1
| | | | dropping
* bcfg2-server.init: Fix 'service bcfg2-server status' results (Patch from Lee ↵Sol Jerome2010-03-181-1/+1
| | | | | | | | | | | | | | | | | Loucks) From Ticket #864: Bcfg2 v1.0.1-1 on a RHEL system. running /etc/init.d/bcfg2-server status returns a "is running" method whether bcfg2-server is running or not. To fix this adding a the "-o %PPID" flag to the pidof call eliminates the parent process from pidof's process list. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5780 ce84e21b-d406-0410-9b95-82705330c041
* Be more verbsose if bcfg2-server is disabled in defaultsDaniel Joseph Barnhart Clark2009-11-051-4/+8
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5548 ce84e21b-d406-0410-9b95-82705330c041
* Fix traceback on bcfg2-server install. Make bcfg2-server not start up on Daniel Joseph Barnhart Clark2009-11-051-1/+10
| | | | | | | | | | | | install or by default at startup, to match behavior of bcfg2 client and not surprise the admin - also starting up bcfg2-server will just fail as currently the package does not install a working basic server configuration - this may be a debian policy bug - the user has to manually do bcfg2-admin init as root after install on clean installs. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5545 ce84e21b-d406-0410-9b95-82705330c041
* Add new Debian packaging from Sami HaahtinenSol Jerome2009-10-291-0/+99
| | | | | | 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-86/+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-7/+41
| | | | 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-21/+29
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1979 ce84e21b-d406-0410-9b95-82705330c041
* Resolve daemon issues (resolves ticket #30)Narayan Desai2006-03-011-10/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1784 ce84e21b-d406-0410-9b95-82705330c041
* last step of repo switchesNarayan Desai2006-01-231-9/+9
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1716 ce84e21b-d406-0410-9b95-82705330c041
* Fix error reporting for parse failuresNarayan Desai2005-12-071-0/+1
| | | | | | | | Fix comment printing for etc/metadata.xml Add a better error message for client communication bootstrapping failures git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1615 ce84e21b-d406-0410-9b95-82705330c041
* Re-add daemonize support to the serverNarayan Desai2005-12-061-0/+4
| | | | | | | | | Fix some pylint errors Add better error handling for function calls Add mesh-mode support for sshbase git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1612 ce84e21b-d406-0410-9b95-82705330c041
* Fix lxml breakage in Account.py and GenerateHostInfoNarayan Desai2005-12-011-1/+1
| | | | | | | Fix debian bug in server init script git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1599 ce84e21b-d406-0410-9b95-82705330c041
* fix typoNarayan Desai2005-11-301-1/+1
| | | | | | | (Logical change 1.378) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1592 ce84e21b-d406-0410-9b95-82705330c041
* add compat code for slesNarayan Desai2005-11-301-2/+10
| | | | | | | | | | 2005/11/30 15:21:43-06:00 anl.gov!desai switch to backwards compatible init script (Logical change 1.376) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1583 ce84e21b-d406-0410-9b95-82705330c041
* remove all references to xmlrpcNarayan Desai2005-11-281-4/+4
| | | | | | | (Logical change 1.370) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1558 ce84e21b-d406-0410-9b95-82705330c041
* Rename: debian/bcfg2-server.bcfg2-xmlrpc.init -> debian/bcfg2-server.initNarayan Desai2005-11-281-4/+6
| | | | | | | (Logical change 1.369) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1553 ce84e21b-d406-0410-9b95-82705330c041
* Rename: Bcfg2Server.init -> debian/bcfg2-server.initNarayan Desai2004-10-271-0/+33
| | | | | | | (Logical change 1.121) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@540 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