mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 17:36:27 +00:00
Change the location where stamp files are looked for.
(imported from commit 15aec12195f5650df0b603ebe8ad9f38fc29d8e1)
This commit is contained in:
@@ -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())
|
||||||
|
|||||||
Reference in New Issue
Block a user