summaryrefslogtreecommitdiff
path: root/admin/monit/patches/001-fix-default-piddir.patch
blob: c20079e9a2a182f497ba933cf02bc354082c1fff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- a/configure
+++ b/configure
@@ -13555,14 +13555,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