| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
properly
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
dropping
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5471 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5042 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5041 ce84e21b-d406-0410-9b95-82705330c041
|
|
footprint on rh (from Robin Bowes)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4967 ce84e21b-d406-0410-9b95-82705330c041
|