mirror of
https://github.com/luzifer-docker/geneshift.git
synced 2024-11-08 23:00:08 +00:00
12 lines
400 B
Bash
12 lines
400 B
Bash
|
#!/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
|