summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-08-10 07:18:09 +0000
committerZach Copley <zach@controlyourself.ca>2009-08-10 07:18:09 +0000
commit681bcbf71efa8514b1299abcf7d9162069b99054 (patch)
tree3570a4db6212da7620b1145b6a6ec05e39dd99d2 /scripts
parentdae74e8ff452e09f37dbd820a74437a672802bc6 (diff)
Add synctwitterfriends to daemon startup and stop scripts
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/getvaliddaemons.php1
-rwxr-xr-xscripts/stopdaemons.sh2
-rwxr-xr-xscripts/synctwitterfriends.php2
3 files changed, 3 insertions, 2 deletions
diff --git a/scripts/getvaliddaemons.php b/scripts/getvaliddaemons.php
index 1e4546dff..9a2b83329 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 60ffd83ad..894e5aaff 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 d13500e97..2de464bcc 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);
}
/**