Browse Source

created additional path for network config

created config directory, changed the server config filename, and added a network config file.
pull/321/head
aikidoka 10 years ago
parent
commit
bd08b70f88
  1. 8
      Arma3/arma3server

8
Arma3/arma3server

@ -21,7 +21,7 @@ steampass="password"
ip="0.0.0.0" ip="0.0.0.0"
fn_parms(){ fn_parms(){
parms="-netlog -ip=${ip} -config=${servercfg} -mod=${mods}" parms="-netlog -ip=${ip} -cfg=${networkcfgfullpath} -config=${servercfgfullpath} -mod=${mods}"
} }
#### Advanced Variables #### #### Advanced Variables ####
@ -50,9 +50,11 @@ filesdir="${rootdir}/serverfiles"
systemdir="${filesdir}" systemdir="${filesdir}"
executabledir="${filesdir}" executabledir="${filesdir}"
executable="./arma3server" executable="./arma3server"
servercfgdir="${systemdir}" servercfgdir="${systemdir}/cfg"
servercfg="${servicename}.cfg" servercfg="${servicename}.server.cfg"
networkcfg="${servicename}.network.cfg"
servercfgfullpath="${servercfgdir}/${servercfg}" servercfgfullpath="${servercfgdir}/${servercfg}"
networkcfgfullpath="${servercfgdir}/${networkcfg}"
backupdir="${rootdir}/backups" backupdir="${rootdir}/backups"
# Logging # Logging

Loading…
Cancel
Save