]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
If /var/run was unwritable stopdaemons did not find pid file
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 13 Apr 2015 19:51:35 +0000 (21:51 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 13 Apr 2015 19:51:35 +0000 (21:51 +0200)
lib/default.php

index c0d559e1cc27dcba88d396bba939a7abbe3fa559..5f4b806b81b8df9fdc745209f5a29fc92eb8e190 100644 (file)
@@ -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' =>