scripts daemonize themselves

darcs-hash:20080904184031-84dde-eba2061f3aa898d0c791ffeb70837f759778c567.gz
This commit is contained in:
Evan Prodromou
2008-09-04 14:40:31 -04:00
parent 95d9920d78
commit aed0fff4ea
9 changed files with 167 additions and 37 deletions

View File

@@ -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');