diff options
author | Stefan Fritsch <sf@debian.org> | 2011-02-26 14:12:23 +0000 |
---|---|---|
committer | Stefan Fritsch <sf@sfritsch.de> | 2012-01-02 10:37:24 +0100 |
commit | e5cdeca58b128bdd122fe6b9f974aecb9f3c456e (patch) | |
tree | 1fb64585c9fcd0b5be1bf5a0f20cd0b0f1152074 | |
parent | 7605fe9dc5a9c635022d019729c7a54f61440c2a (diff) | |
download | apache2-e5cdeca58b128bdd122fe6b9f974aecb9f3c456e.tar.gz |
Make exit code of '/etc/init.d/apache2 status' more LSB compatible.
git-svn-id: svn+ssh://svn.debian.org/svn/pkg-apache/branches/squeeze-apache2@1284 01b336ce-410b-0410-9a02-a0e7f243c266
-rw-r--r-- | debian/apache2.2-common.apache2.init | 6 | ||||
-rw-r--r-- | debian/changelog | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/debian/apache2.2-common.apache2.init b/debian/apache2.2-common.apache2.init index 52694d49..cd48dac1 100644 --- a/debian/apache2.2-common.apache2.init +++ b/debian/apache2.2-common.apache2.init @@ -266,7 +266,11 @@ case $1 in exit 0 else echo "Apache2$DIR_SUFFIX is NOT running." - exit 1 + if [ -e "$PIDFILE" ]; then + exit 1 + else + exit 3 + fi fi ;; *) diff --git a/debian/changelog b/debian/changelog index bb3c1369..50e8a705 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,7 @@ apache2 (2.2.16-6+squeeze1) UNRELEASED; urgency=low + * Make exit code of '/etc/init.d/apache2 status' more LSB compatible. + Closes: #613969 * Add hint in README.Debian about 403 error with mod_dav PUT. Closes: #613438 |