[apache2] 05/05: Give some hints to systemd-sysv-generator
Stefan Fritsch
sf at moszumanska.debian.org
Sun Apr 10 09:46:51 UTC 2016
This is an automated email from the git hooks/post-receive script.
sf pushed a commit to branch master
in repository apache2.
commit ada36068ac2ddf96ce2d79e79901a2e9c89c7273
Author: Stefan Fritsch <sf at sfritsch.de>
Date: Sun Apr 10 11:29:58 2016 +0200
Give some hints to systemd-sysv-generator
this fixes 'systemctl status'
---
debian/apache2.install | 1 +
debian/changelog | 3 +++
debian/forking.conf | 3 +++
3 files changed, 7 insertions(+)
diff --git a/debian/apache2.install b/debian/apache2.install
index 46ee11d..5206dec 100644
--- a/debian/apache2.install
+++ b/debian/apache2.install
@@ -5,3 +5,4 @@ debian/apache2ctl /usr/sbin
debian/a2query /usr/sbin
debian/ask-for-passphrase /usr/share/apache2/
debian/debhelper/apache2-maintscript-helper /usr/share/apache2/
+debian/forking.conf /lib/systemd/system/apache2.service.d/forking.conf
diff --git a/debian/changelog b/debian/changelog
index 39de3c9..324a29f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,9 @@ apache2 (2.4.20-1) UNRELEASED; urgency=medium
* New upstream release
- mostly bugfixes and HTTP/2 improvements
* Build against lua 5.2 instead of 5.1. Closes: #820243
+ * Correct systemd-sysv-generator behavior by customizing some parameters.
+ This fixes 'systemctl status' returning incorrect results. Thanks to
+ Pierre-André MOREY for the patch. LP: #1488962
-- Stefan Fritsch <sf at debian.org> Sat, 09 Apr 2016 13:41:04 +0200
diff --git a/debian/forking.conf b/debian/forking.conf
new file mode 100644
index 0000000..b031203
--- /dev/null
+++ b/debian/forking.conf
@@ -0,0 +1,3 @@
+[Service]
+Type=forking
+RemainAfterExit=no
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-apache/apache2.git
More information about the Pkg-apache-commits
mailing list