2025-02-08 02:54:01 -08:00

9 lines
295 B
Plaintext

#!/command/with-contenv sh
echo "Loading whitelist from ${WHITELIST_FEED_URL}"
curl -sS --request GET --url "${WHITELIST_FEED_URL}" --header 'accept: text/plain' -o /etc/opentracker/whitelist
exec 2>&1
exec s6-setuidgid farmhand \
exec /bin/opentracker -f /etc/opentracker/opentracker.conf