[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:
Tim Abbott 2013-10-04 13:19:57 -04:00 committed by Steve Howell
parent 7f8d48e4e0
commit 46a74271ea
9 changed files with 15 additions and 15 deletions

View file

@ -43,7 +43,7 @@ def fetch_public_streams():
return public_streams
if __name__ == "__main__":
log_file = "/home/humbug/sync_public_streams.log"
log_file = "/home/zulip/sync_public_streams.log"
logger = logging.getLogger(__name__)
log_format = "%(asctime)s: %(message)s"
logging.basicConfig(format=log_format)
@ -59,9 +59,9 @@ if __name__ == "__main__":
if public_streams is None:
continue
f = file("/home/humbug/public_streams.tmp", "w")
f = file("/home/zulip/public_streams.tmp", "w")
f.write(simplejson.dumps(list(public_streams)) + "\n")
f.close()
subprocess.call(["mv", "/home/humbug/public_streams.tmp", "/home/humbug/public_streams"])
subprocess.call(["mv", "/home/zulip/public_streams.tmp", "/home/zulip/public_streams"])