summaryrefslogtreecommitdiff
path: root/scripts/startdaemons.sh
diff options
context:
space:
mode:
authorCiaranG <ciaran@ciarang.com>2009-04-28 13:30:54 +0100
committerCiaranG <ciaran@ciarang.com>2009-04-28 13:30:54 +0100
commit5b78f95e972f9f19ea46607e8b9544b8f7c4207a (patch)
tree7672a37a87654b90f46426aa8a7e747e5d268709 /scripts/startdaemons.sh
parent6a20ef71d3b2b325ce24318e2ba4483d6c8732ce (diff)
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
Diffstat (limited to 'scripts/startdaemons.sh')
-rwxr-xr-xscripts/startdaemons.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/startdaemons.sh b/scripts/startdaemons.sh
index 66f9ed4e0..3869e95c4 100755
--- a/scripts/startdaemons.sh
+++ b/scripts/startdaemons.sh
@@ -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