diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-09-04 14:40:31 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-09-04 14:40:31 -0400 |
commit | aed0fff4ea668de83405a4457fe238cf36c78d8f (patch) | |
tree | 21c3c184e49c4599bbd7e96f18225d831a56cd66 /scripts/publicqueuehandler.php | |
parent | 95d9920d7861fb4a070a2ac2ebe19deb7432c5ab (diff) |
scripts daemonize themselves
darcs-hash:20080904184031-84dde-eba2061f3aa898d0c791ffeb70837f759778c567.gz
Diffstat (limited to 'scripts/publicqueuehandler.php')
-rwxr-xr-x | scripts/publicqueuehandler.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/scripts/publicqueuehandler.php b/scripts/publicqueuehandler.php index bd0a3670e..62e60b858 100755 --- a/scripts/publicqueuehandler.php +++ b/scripts/publicqueuehandler.php @@ -105,8 +105,4 @@ $resource = ($argc > 1) ? $argv[1] : (common_config('xmpp','resource') . '-publi $handler = new PublicQueueHandler($resource); -if ($handler->start()) { - $handler->handle_queue(); -} - -$handler->finish(); +$handler->runOnce(); |