[manual] Rename /home/humbug to /home/zulip.
This may require just doing an mv on the home directory, plus changing the home directory in /etc/passwd. It should of course be done carefully. (imported from commit 660997d897ee6d33563af74f0fc5d4267a911755)
This commit is contained in:
parent
7f8d48e4e0
commit
46a74271ea
9 changed files with 15 additions and 15 deletions
|
@ -10,18 +10,18 @@ ccache_data_encoded = sys.argv[3]
|
|||
|
||||
# Update the Kerberos ticket cache file
|
||||
program_name = "zmirror-%s" % (short_user,)
|
||||
with file("/home/humbug/ccache/%s" % (program_name,), "w") as f:
|
||||
with file("/home/zulip/ccache/%s" % (program_name,), "w") as f:
|
||||
f.write(base64.b64decode(ccache_data_encoded))
|
||||
|
||||
# Setup API key
|
||||
api_key_path = "/home/humbug/api-keys/%s" % (program_name,)
|
||||
api_key_path = "/home/zulip/api-keys/%s" % (program_name,)
|
||||
file(api_key_path, "w").write(api_key + "\n")
|
||||
|
||||
# Setup supervisord configuration
|
||||
supervisor_path = "/etc/supervisor/conf.d/%s.conf" % (program_name,)
|
||||
template = "/home/humbug/zulip/bots/zmirror_private.conf.template"
|
||||
template = "/home/zulip/zulip/bots/zmirror_private.conf.template"
|
||||
template_data = file(template).read()
|
||||
session_path = "/home/humbug/zephyr_sessions/%s" % (program_name,)
|
||||
session_path = "/home/zulip/zephyr_sessions/%s" % (program_name,)
|
||||
|
||||
# Preserve mail zephyrs forwarding setting across rewriting the config file
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue