diff --git a/provisioning/move_apps.sh b/provisioning/move_apps.sh new file mode 100755 index 00000000..cbe858a1 --- /dev/null +++ b/provisioning/move_apps.sh @@ -0,0 +1,60 @@ +#!/bin/sh + +cp cof/settings/secret.py gestioCOF/settings/secret.py + +# Exit on error +set -e + +. provisioning/move_apps_helpers.sh + +echo "-----" + +echo "»»» Stopping services…" +systemctl stop daphne +systemctl stop worker + +echo "»»» Updating database…" +_psql <