This is a multi-part MIME message sent by reportbug.
Source: apache2
Version: 2.4.63-1
Followup-For: Bug #860087
X-Debbugs-Cc: Marco d'Itri <
[email protected]>
Hello,
Please find here a patch to fix this.
The module is builtin as it's required by the .service to properly start apache.
Kind regards,
Laurent Bigonville
-- System Information:
Debian Release: 13.0
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.15-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), LANGUAGE=fr_BE:fr
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff --git a/debian/apache2.service b/debian/apache2.service
index cd7e663c..1491eb1f 100644
--- a/debian/apache2.service
+++ b/debian/apache2.service
@@ -4,7 +4,7 @@ After=network.target remote-fs.target nss-lookup.target
Documentation=
https://httpd.apache.org/docs/2.4/
[Service]
-Type=forking
+Type=notify
Environment=APACHE_STARTED_BY_SYSTEMD=true
ExecStart=/usr/sbin/apachectl start
ExecStop=/usr/sbin/apachectl graceful-stop
diff --git a/debian/
[email protected] b/debian/
[email protected]
index 56f88cc7..568c3376 100644
--- a/debian/
[email protected]
+++ b/debian/
[email protected]
@@ -5,7 +5,7 @@ ConditionPathIsDirectory=/etc/apache2-%i
Documentation=
https://httpd.apache.org/docs/2.4/
[Service]
-Type=forking
+Type=notify
Environment=APACHE_CONFDIR=/etc/apache2-%i APACHE_STARTED_BY_SYSTEMD=true
ExecStart=/usr/sbin/apachectl start
ExecStop=/usr/sbin/apachectl graceful-stop
diff --git a/debian/apache2ctl b/debian/apache2ctl
index cde76619..a13a66ec 100755
--- a/debian/apache2ctl
+++ b/debian/apache2ctl
@@ -175,7 +175,7 @@ start)
systemctl start "$APACHE_SY