summaryrefslogtreecommitdiffstats
path: root/redhat/scripts/bcfg2-server.init
Commit message (Collapse)AuthorAgeFilesLines
* redhat: Use existing variable in init scriptSol Jerome2014-06-171-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* redhat: fixed killproc behavior when multiprocessing core doesn't shut down ↵Chris St. Pierre2014-02-251-1/+7
| | | | properly
* init: wait even longer for bcfg2-server to stopChris St. Pierre2014-02-201-1/+1
|
* redhat: wait longer before kill -9'ing bcfg2-serverChris St. Pierre2014-02-141-1/+1
|
* Pass through retval from start, stop, status, etc.Michael Fenn2013-03-281-0/+3
| | | | | | | | | | | | | | | | | | 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.
* changed default pidfile location in init scripts to allow easier privilege ↵Chris St. Pierre2012-10-041-1/+1
| | | | dropping
* Tweaks to init script start/stop order and runlevelsJohn Morris2012-09-091-1/+1
| | | | | | | | | | Change init scripts for both client and server: - Don't run in runlevel 2; autofs and others are disabled there - Start service much later, closer to httpd, after autofs has started - Stop service much sooner, near same services as start (cherry picked from commit c8e464d6cf0a5e099a9e6d41e943447db26ed8b9) Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* redhat init scripts: Update to be more like the debian scriptsJohn Morris2012-09-031-2/+12
| | | | | | | | | | | | | | Fixing this script for RedHat; its advantage over the Debian script is the dependency on lsb drags in quite a number of extra, otherwise- unneeded packages. - Remove agent functions from bcfg2.init - Add success || failure messages - Include options from /etc/sysconfig/bcfg2* - Other snippets from debian script (cherry picked from commit 4034d6e503f1543223355f7aceb6aefd933fabb3) Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* working fix for the redhat init script (mea culpa)Narayan Desai2009-01-231-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5042 ce84e21b-d406-0410-9b95-82705330c041
* make redhat init script work on RHEL4 (Patch from Carol Tardif)Narayan Desai2009-01-231-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5041 ce84e21b-d406-0410-9b95-82705330c041
* RPM packaging updates -- add rh specific init scripts and remove prereq ↵Narayan Desai2008-11-071-0/+71
footprint on rh (from Robin Bowes) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4967 ce84e21b-d406-0410-9b95-82705330c041