|
@@ -25,8 +25,6 @@ admins=""
|
|
|
## Advanced Server Start Settings
|
|
## Advanced Server Start Settings
|
|
|
# Rollback server state (remove after start command)
|
|
# Rollback server state (remove after start command)
|
|
|
loadsave=""
|
|
loadsave=""
|
|
|
-# Use unstable 64 bit server executable (O/1)
|
|
|
|
|
-x64mode="0"
|
|
|
|
|
|
|
|
|
|
## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
|
|
## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
|
|
|
# Edit with care | http://hurtworld.wikia.com/wiki/Hosting_A_Server
|
|
# Edit with care | http://hurtworld.wikia.com/wiki/Hosting_A_Server
|
|
@@ -119,11 +117,7 @@ engine="unity3d"
|
|
|
## Server Specific Directories
|
|
## Server Specific Directories
|
|
|
systemdir="${serverfiles}"
|
|
systemdir="${serverfiles}"
|
|
|
executabledir="${serverfiles}"
|
|
executabledir="${serverfiles}"
|
|
|
-if [ "${x64mode}" == "1" ]; then
|
|
|
|
|
- executable="./Hurtworld.x86_64"
|
|
|
|
|
-else
|
|
|
|
|
- executable="./Hurtworld.x86"
|
|
|
|
|
-fi
|
|
|
|
|
|
|
+executable=$([ "$(uname -m)" == "x86_64" ] && echo "./Hurtworld.x86_64" || echo "./Hurtworld.x86")
|
|
|
|
|
|
|
|
## Backup Directory
|
|
## Backup Directory
|
|
|
backupdir="${rootdir}/backups"
|
|
backupdir="${rootdir}/backups"
|
|
@@ -143,4 +137,3 @@ postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
|
|
|
gamelogdate="${gamelogdir}/${servicename}-game-$(date '+%Y-%m-%d-%H:%M:%S').log"
|
|
gamelogdate="${gamelogdir}/${servicename}-game-$(date '+%Y-%m-%d-%H:%M:%S').log"
|
|
|
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
|
|
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
|
|
|
consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
|
|
consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
|
|
|
-
|
|
|