Merge request from chimo adding getvaliddaemons to stopdaemons.php
Source: https://gitorious.org/statusnet/gnu-social/merge_requests/15
This commit is contained in:
commit
1ee79dc379
@ -33,9 +33,10 @@ fi
|
|||||||
SDIR=`dirname $0`
|
SDIR=`dirname $0`
|
||||||
DIR=`php $SDIR/getpiddir.php $SITE`
|
DIR=`php $SDIR/getpiddir.php $SITE`
|
||||||
|
|
||||||
for f in ombhandler smshandler pinghandler queuedaemon \
|
DAEMONS=`php $SDIR/getvaliddaemons.php`
|
||||||
twitterhandler facebookhandler imdaemon \
|
|
||||||
twitterstatusfetcher synctwitterfriends pluginhandler rsscloudhandler; do
|
for f in $DAEMONS; do
|
||||||
|
f=$(basename $f .php)
|
||||||
|
|
||||||
FILES="$DIR/$f.$ID.pid"
|
FILES="$DIR/$f.$ID.pid"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user