diff --git a/www/stop_docker_stacks.sh b/www/stop_docker_stacks.sh index 1a16d51..9ffa3a6 100755 --- a/www/stop_docker_stacks.sh +++ b/www/stop_docker_stacks.sh @@ -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 diff --git a/www/stub/nginx_yml.sh b/www/stub/nginx_yml.sh index b9d43fa..b12f8b2 100755 --- a/www/stub/nginx_yml.sh +++ b/www/stub/nginx_yml.sh @@ -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.