mirror of
https://github.com/DerTyp7/glassminers-server-docker.git
synced 2025-10-29 21:02:10 +01:00
Switched back to using the default executable name.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user