]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/startdaemons.sh
Only start daemons that are required, according to the site config. There is the...
[quix0rs-gnu-social.git] / scripts / startdaemons.sh
index 66f9ed4e0c40ec9ec1e2dee4f9d4f852dc6f3a87..3869e95c4c3cf5ae2735f54dbff600349af6f7d8 100755 (executable)
 # 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