|
@ -228,9 +228,9 @@ vps_check() { |
|
|
echo "${DARKRED}no-size${NORMAL}" |
|
|
echo "${DARKRED}no-size${NORMAL}" |
|
|
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; } |
|
|
|
|
|
|
|
|
{ echo "${DARKRED}no-compose${NORMAL}"; return 1; } |
|
|
echo "$compose_content" | grep backup >/dev/null 2>&1 || |
|
|
echo "$compose_content" | grep backup >/dev/null 2>&1 || |
|
|
{ echo "${DARKRED}no-backup${NORMAL}"; return; } |
|
|
|
|
|
|
|
|
{ echo "${DARKRED}no-backup${NORMAL}"; return 1; } |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|