|
@ -259,7 +259,7 @@ vps_check() { |
|
|
fi </dev/null |
|
|
fi </dev/null |
|
|
compose_content=$(ssh:run "root@$vps" -- cat /opt/apps/myc-deploy/compose.yml </dev/null) || |
|
|
compose_content=$(ssh:run "root@$vps" -- cat /opt/apps/myc-deploy/compose.yml </dev/null) || |
|
|
{ echo "${DARKRED}no-compose${NORMAL}"; return 1; } |
|
|
{ echo "${DARKRED}no-compose${NORMAL}"; return 1; } |
|
|
echo "$compose_content" | grep backup >/dev/null 2>&1 || |
|
|
|
|
|
|
|
|
echo "$compose_content" | yq -e ".rsync-backup" >/dev/null 2>&1 || |
|
|
{ echo "${DARKRED}no-backup${NORMAL}"; return 1; } |
|
|
{ echo "${DARKRED}no-backup${NORMAL}"; return 1; } |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|