This commit is contained in:
TheiLLeniumStudios
2023-02-06 14:31:23 +00:00
parent 46ae755028
commit 188ad0caa9
+1
View File
@@ -78,6 +78,7 @@ if ! is_array_empty "$resources_to_restart"; then
echo "Will restart individual resources" echo "Will restart individual resources"
for resource in $resources_to_restart; do for resource in $resources_to_restart; do
echo "Restarting ${resource}" echo "Restarting ${resource}"
echo "ensure ${resource} ${SERVER_IP}:${SERVER_PORT} ${RCON_PASSWORD}"
icecon --command "ensure ${resource}" "${SERVER_IP}:${SERVER_PORT}" "${RCON_PASSWORD}" icecon --command "ensure ${resource}" "${SERVER_IP}:${SERVER_PORT}" "${RCON_PASSWORD}"
done done
else else