mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 12:33:40 +00:00
@@ -79,7 +79,5 @@ try:
|
||||
|
||||
subprocess.check_call(["sudo", os.path.join(deploy_path, "scripts", "lib", "upgrade-zulip-stage-2"),
|
||||
deploy_path, "--from-git"] + deploy_options)
|
||||
|
||||
subprocess.check_call(["./scripts/purge-old-deployments"])
|
||||
finally:
|
||||
release_deployment_lock()
|
||||
|
||||
@@ -79,3 +79,5 @@ if os.path.exists("/etc/supervisor/conf.d/zulip_db.conf"):
|
||||
subprocess.check_call(["supervisorctl", "start", "process-fts-updates"], preexec_fn=su_to_zulip)
|
||||
|
||||
logging.info("Upgrade complete!")
|
||||
|
||||
subprocess.check_call(["./scripts/purge-old-deployments"])
|
||||
|
||||
Reference in New Issue
Block a user