upgrade-zulip-stage-2: Tweak log message

(imported from commit e8979fa3331119f1f039b3809f6d06fc81fd5e0e)
This commit is contained in:
Zev Benjamin 2013-11-13 16:35:39 -05:00
parent 718a1a8405
commit 1546d06344
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ subprocess.check_call(["apt-get", "upgrade"])
logging.info("Applying database migrations...") logging.info("Applying database migrations...")
subprocess.check_call(["./manage.py", "migrate"], preexec_fn=su_to_zulip) subprocess.check_call(["./manage.py", "migrate"], preexec_fn=su_to_zulip)
logging.info("Restarting server...") logging.info("Restarting Zulip...")
subprocess.check_call(["cp", "-rT", os.path.join(deploy_path, 'prod-static/serve'), subprocess.check_call(["cp", "-rT", os.path.join(deploy_path, 'prod-static/serve'),
'/home/zulip/prod-static'], preexec_fn=su_to_zulip) '/home/zulip/prod-static'], preexec_fn=su_to_zulip)
subprocess.check_output(["./scripts/restart-server"], preexec_fn=su_to_zulip) subprocess.check_output(["./scripts/restart-server"], preexec_fn=su_to_zulip)