Refactor restore backup

This commit is contained in:
Derek Smith 2023-04-05 15:44:26 -04:00
parent 9a15ada7e3
commit d3eba31bf4
Signed by: farscapian
GPG Key ID: B443E530A14E1C90
2 changed files with 4 additions and 2 deletions

View File

@ -39,7 +39,9 @@ for DOMAIN_NAME in ${DOMAIN_LIST//,/ }; do
if [ "$RESTORE_WWW" = true ]; then
./restore_path.sh
elif [ "$BACKUP_APPS" = true ]; then
fi
if [ "$BACKUP_APPS" = true ]; then
# if we're not restoring, then we may or may not back up.
./backup_path.sh
fi

View File

@ -139,7 +139,7 @@ done
if [ "$STOP_SERVICES" = false ]; then
# for some reason we need to wait here. See if there's a fix; poll for service readiness?
sleep 3
sleep 5
docker stack deploy -c "$DOCKER_YAML_PATH" reverse-proxy
# iterate over all our domains and create the nginx config file.