summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-01-16 08:06:02 -0800
committerEvan Prodromou <evan@status.net>2010-01-16 08:06:02 -0800
commit1f6bbc189012cb3a1d61be92bbc1d4ec6156afac (patch)
tree754c1964c2ad645d4a6fe5d4c4c7e21ac45ecb7d /scripts
parent42550321ffd40328efa8b3bd8ec627ae219cf005 (diff)
parent21c3e08804b312aaea21ae6bd0a0691304d6e4cd (diff)
Merge branch 'master' into 0.9.x
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/queuedaemon.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/queuedaemon.php b/scripts/queuedaemon.php
index f8bade39d..162f617e0 100755
--- a/scripts/queuedaemon.php
+++ b/scripts/queuedaemon.php
@@ -21,7 +21,7 @@
define('INSTALLDIR', realpath(dirname(__FILE__) . '/..'));
$shortoptions = 'fi:at:';
-$longoptions = array('id=', 'foreground', 'all', 'threads=', 'skip-xmpp');
+$longoptions = array('id=', 'foreground', 'all', 'threads=', 'skip-xmpp', 'xmpp-only');
/**
* Attempts to get a count of the processors available on the current system
@@ -263,6 +263,9 @@ $all = have_option('a') || have_option('--all');
if (have_option('--skip-xmpp')) {
define('XMPP_EMERGENCY_FLAG', true);
}
+if (have_option('--xmpp-only')) {
+ define('XMPP_ONLY_FLAG', true);
+}
$daemon = new QueueDaemon($id, $daemonize, $threads, $all);
$daemon->runOnce();