Refactor restore backup
This commit is contained in:
parent
9a15ada7e3
commit
d3eba31bf4
@ -39,7 +39,9 @@ for DOMAIN_NAME in ${DOMAIN_LIST//,/ }; do
|
|||||||
|
|
||||||
if [ "$RESTORE_WWW" = true ]; then
|
if [ "$RESTORE_WWW" = true ]; then
|
||||||
./restore_path.sh
|
./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.
|
# if we're not restoring, then we may or may not back up.
|
||||||
./backup_path.sh
|
./backup_path.sh
|
||||||
fi
|
fi
|
||||||
|
@ -139,7 +139,7 @@ done
|
|||||||
|
|
||||||
if [ "$STOP_SERVICES" = false ]; then
|
if [ "$STOP_SERVICES" = false ]; then
|
||||||
# for some reason we need to wait here. See if there's a fix; poll for service readiness?
|
# 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
|
docker stack deploy -c "$DOCKER_YAML_PATH" reverse-proxy
|
||||||
# iterate over all our domains and create the nginx config file.
|
# iterate over all our domains and create the nginx config file.
|
||||||
|
Loading…
Reference in New Issue
Block a user