Switched back to using the default executable name.

This commit is contained in:
surrealtm
2025-08-22 22:49:15 +02:00
parent 0e3ba7ab8a
commit 35939f1eaf
3 changed files with 4 additions and 6 deletions

View File

@@ -2,7 +2,7 @@
echo "[Info] Downloading server executable..."
LOCAL_EXECUTABLE_NAME="server_$1.out"
LOCAL_EXECUTABLE_NAME="server.out"
if [ "$1" = "stable" ]; then
wget https://github.com/surrealtm/Glassminers/releases/latest/download/GMServer.out -O $LOCAL_EXECUTABLE_NAME

View File

@@ -4,7 +4,7 @@ MAX_LOGS=${MAX_LOGS:-20}
LOG_DIR=${LOG_DIR:-"/var/log/glassminers"}
LOG_DATE_FORMAT=${LOG_DATE_FORMAT:-"%Y-%m-%d-%H-%M-%S"}
EXEC=./server_$1.out
EXEC=./server.out
TIMESTAMP=$(date +"$LOG_DATE_FORMAT")
delete_old_logs() {