zephyr_mirror: Renew kerberos tickets when starting up class mirror.

(imported from commit 34b0a78558c6f20043efe986a16064387f36f1c0)
This commit is contained in:
Tim Abbott 2013-08-20 14:03:07 -04:00
parent ae2b181591
commit a47b0e54c3
3 changed files with 7 additions and 0 deletions

View file

@ -47,6 +47,8 @@ if options.sync_subscriptions:
if options.forward_class_messages and not options.noshard:
sys.path.append("/home/humbug/humbug")
if options.on_startup_command is not None:
subprocess.call([options.on_startup_command])
from zerver.lib.parallel import run_parallel
print "Starting parallel zephyr class mirroring bot"
jobs = list("0123456789abcdef")