summaryrefslogtreecommitdiff
path: root/lib/common.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-09-04 14:40:31 -0400
committerEvan Prodromou <evan@prodromou.name>2008-09-04 14:40:31 -0400
commitaed0fff4ea668de83405a4457fe238cf36c78d8f (patch)
tree21c3c184e49c4599bbd7e96f18225d831a56cd66 /lib/common.php
parent95d9920d7861fb4a070a2ac2ebe19deb7432c5ab (diff)
scripts daemonize themselves
darcs-hash:20080904184031-84dde-eba2061f3aa898d0c791ffeb70837f759778c567.gz
Diffstat (limited to 'lib/common.php')
-rw-r--r--lib/common.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/common.php b/lib/common.php
index e4c8e9032..80aab806f 100644
--- a/lib/common.php
+++ b/lib/common.php
@@ -94,6 +94,10 @@ $config =
'public' => array()), # JIDs of users who want to receive the public stream
'tag' =>
array('dropoff' => 864000.0),
+ 'daemon' =>
+ array('piddir' => '/var/run',
+ 'user' => false,
+ 'group' => false)
);
$config['db'] = &PEAR::getStaticProperty('DB_DataObject','options');