mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 01:47:41 +00:00
Fix auto-restart functionality with new paths.
(imported from commit cbaf31a194c92a3683249f38f2949259d05d0921)
This commit is contained in:
@@ -174,7 +174,7 @@ def maybe_restart_mirroring_script():
|
|||||||
os.kill(child_pid, signal.SIGKILL)
|
os.kill(child_pid, signal.SIGKILL)
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
os.execvp(root_path + "/zephyr_mirror.py", sys.argv)
|
os.execvp(root_path + "/user_root/zephyr_mirror.py", sys.argv)
|
||||||
except:
|
except:
|
||||||
print "Error restarting, trying again."
|
print "Error restarting, trying again."
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
|
|||||||
Reference in New Issue
Block a user