1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-13 10:59:13 +02:00
openwrt-packages/admin/monit/patches/001-fix-default-piddir.patch
Christoph König e2936e59bc monit: Update to 5.9
Signed-off-by: Christoph König <christoph.koenig@gmail.com>
2014-09-25 22:41:07 +02:00

19 lines
450 B
Diff

--- a/configure
+++ b/configure
@@ -13744,14 +13744,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