mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
upgrade: Show output from (re)starting zulip.
5c450afd2d
, in ancient history, switched from `check_call` to
`check_output` and throwing away its result.
Use check_call, so that we show the steps to (re)starting the server.
This commit is contained in:
@@ -338,9 +338,9 @@ if IS_SERVER_UP or not args.skip_puppet:
|
||||
# Even if the server wasn't up previously, puppet might have
|
||||
# started it if there were supervisord configuration changes, so
|
||||
# we need to use restart-server if puppet ran.
|
||||
subprocess.check_output(["./scripts/restart-server", "--fill-cache"], preexec_fn=su_to_zulip)
|
||||
subprocess.check_call(["./scripts/restart-server", "--fill-cache"], preexec_fn=su_to_zulip)
|
||||
else:
|
||||
subprocess.check_output(["./scripts/start-server", "--fill-cache"], preexec_fn=su_to_zulip)
|
||||
subprocess.check_call(["./scripts/start-server", "--fill-cache"], preexec_fn=su_to_zulip)
|
||||
|
||||
logging.info("Upgrade complete!")
|
||||
|
||||
|
Reference in New Issue
Block a user