mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
In general, `./scripts/restart-server` will already work in any circumstance where the server is already stopped and needs to be started. However, it will output a couple minor warnings, and it is not readily obvious that it *will* work correctly. Add an alias for `restart-server` named `start-server`, for parallelism with `stop-server`, which omits the steps of `restart-server` which would stop the server first.
14 lines
243 B
Bash
Executable File
14 lines
243 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# This tests upgrading PostgreSQL
|
|
set -e
|
|
set -x
|
|
|
|
cd /home/github/zulip
|
|
|
|
su zulip -c ./scripts/stop-server
|
|
./scripts/setup/upgrade-postgresql
|
|
su zulip -c ./scripts/start-server
|
|
|
|
echo "Upgrade of PostgreSQL complete!"
|
|
exit 0
|