From 4526c3f712d430e2096f38fea1efbd46e84f9149 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Mon, 13 Apr 2015 21:51:35 +0200 Subject: [PATCH] If /var/run was unwritable stopdaemons did not find pid file --- lib/default.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/default.php b/lib/default.php index c0d559e1cc..5f4b806b81 100644 --- a/lib/default.php +++ b/lib/default.php @@ -181,7 +181,7 @@ $default = array('dropoff' => 864000.0, # controls weighting based on age 'cutoff' => 86400 * 90), # only look at notices favorited in last 90 days 'daemon' => - array('piddir' => '/var/run', + array('piddir' => sys_get_temp_dir(), 'user' => false, 'group' => false), 'emailpost' =>