Change the location where stamp files are looked for.
(imported from commit 15aec12195f5650df0b603ebe8ad9f38fc29d8e1)
This commit is contained in:
parent
9fce18d9ff
commit
20e08a04f7
|
@ -166,9 +166,9 @@ def update_subscriptions_from_humbug():
|
||||||
ensure_subscribed(stream)
|
ensure_subscribed(stream)
|
||||||
|
|
||||||
def maybe_restart_mirroring_script():
|
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
|
(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
|
||||||
print "%s: zephyr mirroring script has been updated; restarting..." % \
|
print "%s: zephyr mirroring script has been updated; restarting..." % \
|
||||||
(datetime.datetime.now())
|
(datetime.datetime.now())
|
||||||
|
|
Loading…
Reference in a new issue