This commit is contained in:
TheiLLeniumStudios
2023-02-06 14:39:50 +00:00
parent c40b2be8b9
commit d55abfb20c
+3
View File
@@ -79,6 +79,9 @@ 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}"
which icecon
icecon --help
icecon
icecon --command "ensure ${resource}" ${SERVER_IP}:${SERVER_PORT} ${RCON_PASSWORD}
done
else