diff options
author | Brion Vibber <brion@pobox.com> | 2010-01-16 13:37:49 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-01-16 13:37:49 -0800 |
commit | faedddaa817cde70c8ab55803e68454d126e5936 (patch) | |
tree | 6e7d630da2a6422176bf765e7ec56bd8921cfbb6 /scripts | |
parent | d35faa04c1927994916a46a1bd48f8420a3e2dfe (diff) | |
parent | 21c3e08804b312aaea21ae6bd0a0691304d6e4cd (diff) |
Merge branch 'master' of gitorious.org:statusnet/mainline
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/queuedaemon.php | 5 |
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(); |