docker-opentracker/entrypoint.sh
2024-10-30 23:27:59 +08:00

9 lines
209 B
Bash

#!/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