Package: monit Version: 1:5.7-1 Severity: minor Tags: patch Hi
In unstable apache2 currently puts the PID into /var/run/apache2/ now: [...] -export APACHE_PID_FILE=/var/run/apache2$SUFFIX.pid +# temporary state file location. This might be changed to /run in Wheezy+1 +export APACHE_PID_FILE=/var/run/apache2/apache2$SUFFIX.pid [...] So this is not stable location yet, and might change again. Attached is patch changing the pid file location for current default setup in unstable tough. Regards, Salvatore
>From 2cf2e1d2b7e0652487bdce37a583d450bb484c6c Mon Sep 17 00:00:00 2001 From: Salvatore Bonaccorso <[email protected]> Date: Fri, 7 Mar 2014 14:20:38 +0100 Subject: [PATCH] Change pid location for apache2 --- debian/monitrc.d/apache2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/monitrc.d/apache2 b/debian/monitrc.d/apache2 index 529ca1e..5920fd3 100644 --- a/debian/monitrc.d/apache2 +++ b/debian/monitrc.d/apache2 @@ -1,4 +1,4 @@ - check process apache with pidfile /var/run/apache2.pid + check process apache with pidfile /var/run/apache2/apache2.pid group www group apache start program = "/etc/init.d/apache2 start" -- 1.9.0

