docker-tmserver/services.d/xaseco/run

21 lines
349 B
Plaintext
Raw Permalink Normal View History

2022-06-26 17:46:34 +02:00
#!/command/with-contenv bash
set -e
[[ "$(id -u)" == 0 ]] && \
chown -R trackmania:trackmania /var/lib/xaseco && \
s6-setuidgid trackmania "$0"
2022-06-26 17:46:34 +02:00
cd /var/lib/xaseco
# Parse environment to configuration files
./bin/eval_env.sh
# Link custom configuration files
./bin/config.sh
# Parse plugin list
./bin/plugins.sh
exec "php" "aseco.php"