Change the location where stamp files are looked for.

(imported from commit 15aec12195f5650df0b603ebe8ad9f38fc29d8e1)
This commit is contained in:
Tim Abbott 2012-10-29 14:11:24 -04:00
parent 9fce18d9ff
commit 20e08a04f7

View file

@ -166,9 +166,9 @@ def update_subscriptions_from_humbug():
ensure_subscribed(stream)
def maybe_restart_mirroring_script():
if os.stat(root_path + "/restart_stamp").st_mtime > start_time or \
if os.stat(root_path + "/stamps/restart_stamp").st_mtime > start_time or \
(options.user == "tabbott" and
os.stat(root_path + "/tabbott_stamp").st_mtime > start_time):
os.stat(root_path + "/stamps/tabbott_stamp").st_mtime > start_time):
print
print "%s: zephyr mirroring script has been updated; restarting..." % \
(datetime.datetime.now())