[apache2] 02/03: Give some hints to systemd-sysv-generator

Stefan Fritsch sf at moszumanska.debian.org
Sat Jun 25 14:11:00 UTC 2016


This is an automated email from the git hooks/post-receive script.

sf pushed a commit to branch jessie
in repository apache2.

commit eed7fa10d48b6b40046a29c473463bfa5963d2af
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 52bbac7..2456b61 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 1031021..1ec5da5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,9 @@ apache2 (2.4.10-10+deb8u5) UNRELEASED; urgency=medium
   * mod_socache_memcache: Increase idle timeout to 15s to allow keep-alive
     connections. Closes: #803035
   * mod_proxy_fcgi: Fix wrong behavior with 304 responses. Closes: #827472
+  * Correct systemd-sysv-generator behavior by customizing some parameters.
+    This fixes 'systemctl status' returning incorrect results.
+    Closes: #827444
 
  -- Stefan Fritsch <sf at debian.org>  Sat, 28 May 2016 11:23:21 +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