Only start daemons that are required, according to the site config. There is the potential to not start some more - see the checks in getvaliddaemons.php

This commit is contained in:
CiaranG
2009-04-28 13:30:54 +01:00
parent 6a20ef71d3
commit 5b78f95e97
2 changed files with 54 additions and 4 deletions

View File

@@ -21,11 +21,9 @@
# Note that the 'maildaemon' needs to run as a mail filter.
DIR=`dirname $0`
DAEMONS=`php $DIR/getvaliddaemons.php`
for f in xmppdaemon.php jabberqueuehandler.php publicqueuehandler.php \
xmppconfirmhandler.php smsqueuehandler.php ombqueuehandler.php \
twitterqueuehandler.php facebookqueuehandler.php pingqueuehandler.php \
memcachedqueuehandler.php inboxqueuehandler.php; do
for f in $DAEMONS; do
echo -n "Starting $f...";
php $DIR/$f