diff options
| author | jorton <jorton@fedoraproject.org> | 2005-02-07 15:14:50 +0000 |
|---|---|---|
| committer | jorton <jorton@fedoraproject.org> | 2005-02-07 15:14:50 +0000 |
| commit | 3eb2bca22228b4e2b4e189d48f456108ab0a39b2 (patch) | |
| tree | 4b7e4714c004bdb74a7f153483bcca21aadec492 /httpd.init | |
| parent | 305e86bbfcf16ebd39e14b7919e93f323d501f81 (diff) | |
| download | httpd-3eb2bca22228b4e2b4e189d48f456108ab0a39b2.tar.gz httpd-3eb2bca22228b4e2b4e189d48f456108ab0a39b2.tar.xz httpd-3eb2bca22228b4e2b4e189d48f456108ab0a39b2.zip | |
- fix cosmetic issues in "service httpd reload"httpd-2_0_52-7
- move User/Group higher in httpd.conf (#146793)
- load mod_logio by default in httpd.conf
- apachectl: update for correct libselinux tools locations
Diffstat (limited to 'httpd.init')
| -rwxr-xr-x | httpd.init | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -73,15 +73,15 @@ stop() { [ $RETVAL = 0 ] && rm -f ${lockfile} ${pidfile} } reload() { - if ! LANG=$HTTPD_LANG $httpd $OPTIONS -t; then - failure $"Configuration syntax check for $httpd, will not reload" + echo -n $"Reloading $prog: " + if ! LANG=$HTTPD_LANG $httpd $OPTIONS -t >&/dev/null; then RETVAL=$? + failure $"not reloading $httpd due to configuration syntax error" else - echo -n $"Reloading $prog: " killproc $httpd -HUP RETVAL=$? - echo fi + echo } # See how we were called. |
