docker-opentracker/entrypoint.sh

9 lines
209 B
Bash
Raw Normal View History

2024-10-30 15:27:59 +00:00
#!/bin/sh
if [ ! -f "$XDG_CONFIG_HOME/opentracker.conf" ]; then
cp -a /etc/opentracker/opentracker.conf.sample $XDG_CONFIG_HOME/opentracker.conf
fi
/bin/opentracker -f $XDG_CONFIG_HOME/opentracker.conf