From 1ebd4611e42af115b9dcc52d98dd3c6cb38cdf14 Mon Sep 17 00:00:00 2001 From: TheiLLeniumStudios <104288623+TheiLLeniumStudios@users.noreply.github.com> Date: Tue, 7 Feb 2023 11:37:21 +0000 Subject: [PATCH] Uncomment rcon commands --- README.md | 1 + entrypoint.sh | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7be6ad1..ecf7b23 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,7 @@ This allows you, as a server owner to have a Git Managed workflow for your serve | serverIP | IP of the FiveM server | true | | | serverPort | Port of the FiveM server | false | 30120 | | resourcesFolder | Resources folder name | false | resources | +| resourcesToIgnore | List of resources that you want to ignore separated by spaces and not restart when changes are made to them | false | | ## How to set up diff --git a/entrypoint.sh b/entrypoint.sh index 5c4ba29..e3b37bd 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -72,12 +72,12 @@ if ! is_array_empty "$resources_to_restart"; then echo "Ignoring restart of the resource ${resource}" else echo "Restarting ${resource}" - #icecon --command "ensure ${resource}" ${SERVER_IP}:${SERVER_PORT} ${RCON_PASSWORD} + icecon --command "ensure ${resource}" ${SERVER_IP}:${SERVER_PORT} ${RCON_PASSWORD} fi done else echo "Will restart the whole server" - #icecon --command "quit" "${SERVER_IP}:${SERVER_PORT}" "${RCON_PASSWORD}" + icecon --command "quit" "${SERVER_IP}:${SERVER_PORT}" "${RCON_PASSWORD}" fi else echo "Nothing to restart"