mirror of https://github.com/zulip/zulip.git
upgrade-zulip-stage-2: Tweak log message
(imported from commit e8979fa3331119f1f039b3809f6d06fc81fd5e0e)
This commit is contained in:
parent
718a1a8405
commit
1546d06344
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue