Got gameyfin .env file working again

This commit is contained in:
2026-09-27 17:20:45 -06:00
parent e6b8ee5b38
commit 9ab5d1f554
3 changed files with 17 additions and 8 deletions
+10 -1
View File
@@ -4,10 +4,19 @@
#
# Example usage:
# ./cm give pizza2d1 minecraft:oak_log 1
#
# Troubleshooting:
# If the command shows an error that you are denied permission to the docker socket, you need to add your user to the docker group:
#
# sudo usermod -aG docker $USER
#
# And then you will need to log out in order for it to take effect:
# - For desktop environments you need to actually log out
# - If you are running this through SSH on a remote device you just need to close the terminal and reconnect
command=()
while [[ ! -z "${1}" ]]; do
command+=("${1}")
shift
done
sudo docker exec -i neoforge_server rcon-cli "${command[@]}"
docker exec -i neoforge_server rcon-cli "${command[@]}"