This commit is contained in:
TheiLLeniumStudios
2023-02-06 14:37:16 +00:00
parent 188ad0caa9
commit c40b2be8b9
+1 -1
View File
@@ -79,7 +79,7 @@ if ! is_array_empty "$resources_to_restart"; then
for resource in $resources_to_restart; do
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
else
echo "Will restart the whole server"