zephyr_mirror: Update process_cache for repository move.
This also has the side effect of stopping using the --root-path argument, which should no longer be required.
This commit is contained in:
parent
81073f9234
commit
6395dc1a45
2 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env python
|
||||
import os
|
||||
import sys
|
||||
import subprocess
|
||||
import base64
|
||||
|
@ -18,7 +19,7 @@ open(api_key_path, "w").write(api_key + "\n")
|
|||
|
||||
# Setup supervisord configuration
|
||||
supervisor_path = "/etc/supervisor/conf.d/%s.conf" % (program_name,)
|
||||
template = "/home/zulip/zulip/api/integrations/zephyr/zmirror_private.conf.template"
|
||||
template = os.path.join(os.path.dirname(__file__), "zmirror_private.conf.template")
|
||||
template_data = open(template).read()
|
||||
session_path = "/home/zulip/zephyr_sessions/%s" % (program_name,)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue