From: Zach Copley Date: Mon, 10 Aug 2009 07:18:09 +0000 (+0000) Subject: Add synctwitterfriends to daemon startup and stop scripts X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=681bcbf71efa8514b1299abcf7d9162069b99054;p=quix0rs-gnu-social.git Add synctwitterfriends to daemon startup and stop scripts --- diff --git a/scripts/getvaliddaemons.php b/scripts/getvaliddaemons.php index 1e4546dff1..9a2b833293 100755 --- a/scripts/getvaliddaemons.php +++ b/scripts/getvaliddaemons.php @@ -44,6 +44,7 @@ if(common_config('twitterbridge','enabled')) { } echo "ombqueuehandler.php "; echo "twitterqueuehandler.php "; +echo "synctwitterfriends.php "; echo "facebookqueuehandler.php "; echo "pingqueuehandler.php "; echo "smsqueuehandler.php "; diff --git a/scripts/stopdaemons.sh b/scripts/stopdaemons.sh index 60ffd83ad1..894e5aaffe 100755 --- a/scripts/stopdaemons.sh +++ b/scripts/stopdaemons.sh @@ -25,7 +25,7 @@ DIR=`php $SDIR/getpiddir.php` for f in jabberhandler ombhandler publichandler smshandler pinghandler \ xmppconfirmhandler xmppdaemon twitterhandler facebookhandler \ - twitterstatusfetcher; do + twitterstatusfetcher synctwitterfriends; do FILES="$DIR/$f.*.pid" for ff in "$FILES" ; do diff --git a/scripts/synctwitterfriends.php b/scripts/synctwitterfriends.php index d13500e979..2de464bccc 100755 --- a/scripts/synctwitterfriends.php +++ b/scripts/synctwitterfriends.php @@ -80,7 +80,7 @@ class SyncTwitterFriendsDaemon extends ParallelizingDaemon function name() { - return ('synctwitterfriendsdaemon.' . $this->_id); + return ('synctwitterfriends.' . $this->_id); } /**