Commit 6d9681d3 authored by chimo's avatar chimo

stopdaemons.sh: dynamic daemons list

Use getvaliddaemons.php instead of the hardcoded list of daemons
parent ad264b70
......@@ -33,9 +33,10 @@ fi
SDIR=`dirname $0`
DIR=`php $SDIR/getpiddir.php $SITE`
for f in ombhandler smshandler pinghandler queuedaemon \
twitterhandler facebookhandler imdaemon \
twitterstatusfetcher synctwitterfriends pluginhandler rsscloudhandler; do
DAEMONS=`php $SDIR/getvaliddaemons.php`
for f in $DAEMONS; do
f=$(basename $f .php)
FILES="$DIR/$f.$ID.pid"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment