|
|
@ -42,29 +42,16 @@ stoponbackup="on" |
|
|
|
consolelogging="on" |
|
|
|
logdays="7" |
|
|
|
|
|
|
|
#### Advanced Variables #### |
|
|
|
#### LinuxGSM Advanced Settings #### |
|
|
|
|
|
|
|
## LinuxGSM Server Details |
|
|
|
# Do not edit |
|
|
|
gamename="Call of Duty" |
|
|
|
engine="idtech3" |
|
|
|
|
|
|
|
## Service Name | https://github.com/GameServerManagers/LinuxGSM/wiki/Multiple-Servers |
|
|
|
servicename="cod-server" |
|
|
|
|
|
|
|
#### Directories #### |
|
|
|
# Edit with care |
|
|
|
|
|
|
|
## Work Directories |
|
|
|
rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" |
|
|
|
selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" |
|
|
|
lockselfname=".${servicename}.lock" |
|
|
|
lgsmdir="${rootdir}/lgsm" |
|
|
|
functionsdir="${lgsmdir}/functions" |
|
|
|
libdir="${lgsmdir}/lib" |
|
|
|
tmpdir="${lgsmdir}/tmp" |
|
|
|
filesdir="${rootdir}/serverfiles" |
|
|
|
|
|
|
|
## Server Specific Directories |
|
|
|
systemdir="${filesdir}" |
|
|
|
executabledir="${filesdir}" |
|
|
@ -87,5 +74,5 @@ consolelog="${consolelogdir}/${servicename}-console.log" |
|
|
|
emaillog="${lgsmlogdir}/${servicename}-email.log" |
|
|
|
|
|
|
|
## Logs Naming |
|
|
|
scriptlogdate="${scriptlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log" |
|
|
|
lgsmlogdate="${scriptlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log" |
|
|
|
consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log" |