packages/admin/monit/patches/001-fix-default-piddir.patch
Etienne CHAMPETIER 46bdd1d60f monit: update to 5.13
run tested on ar71xx

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2015-05-27 08:10:02 +02:00

18 lines
450 B
Diff

--- a/configure
+++ b/configure
@@ -13849,14 +13849,7 @@ fi
# Find the right directory to put the root-mode PID file in
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pid file location" >&5
$as_echo_n "checking pid file location... " >&6; }
-if test -d "/run"
-then
- piddir="/run"
-elif test -d "/var/run"; then
- piddir="/var/run"
-elif test -d "/etc"; then
- piddir="/etc"
-fi
+piddir="/var/run"
cat >>confdefs.h <<_ACEOF