mirror of
https://github.com/luzifer-docker/geneshift.git
synced 2024-11-09 15:20:02 +00:00
11 lines
400 B
Bash
Executable file
11 lines
400 B
Bash
Executable file
#!/usr/bin/dumb-init /bin/bash
|
|
set -euxo pipefail
|
|
|
|
config_path=/config
|
|
data_path=/opt/Geneshift/data
|
|
|
|
# When config files are provided link into game dir
|
|
[ -e "${config_path}/config.ini" ] && ln -sf ${config_path}/config.ini ${data_path}/config.ini
|
|
[ -e "${config_path}/weapons.ini" ] && ln -sf ${config_path}/weapons.ini ${data_path}/weapons.ini
|
|
|
|
exec gosu gameserver /opt/Geneshift/GeneshiftServer
|