mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-11 18:48:26 +00:00
Add arkCustomDynamicConfigURL option
This commit is contained in:
parent
a11df034a2
commit
e9afb36be2
@ -1227,6 +1227,14 @@ doRun() {
|
||||
fi
|
||||
|
||||
arkserveropts="${arkserveropts}?listen"
|
||||
|
||||
if [ -n "${arkCustomDynamicConfigURL}" ]; then
|
||||
arkserveropts="${arkserveropts}?customdynamicconfigurl=${arkCustomDynamicConfigURL}"
|
||||
if [[ ! -n "${usedoptions[arkflag_UseDynamicConfig]}" && ! -n "${usedoptions[arkopt_UseDynamicConfig]}" ]]; then
|
||||
arkextraopts=( "${arkextraopts[@]}" "-UseDynamicConfig" )
|
||||
fi
|
||||
fi
|
||||
|
||||
# run the server in background
|
||||
echo "`timestamp`: start"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user