2025-02-08 02:54:01 -08:00
|
|
|
#!/command/with-contenv sh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# curl -sS --request GET --url "${WHITELIST_FEED_URL}" --header 'accept: text/plain' -o /etc/opentracker/whitelist
|
|
|
|
|
|
|
|
|
|
|
|
echo "Loading torrent whitelist from ${WHITELIST_FEED_URL}"
|
|
|
|
curl -sS --request GET --url "${WHITELIST_FEED_URL}" --header 'accept: text/plain' -o /etc/opentracker/whitelist
|
|
|
|
|
|
|
|
echo "Starting caddy"
|
2025-02-12 13:09:16 -08:00
|
|
|
exec 2>&1
|
|
|
|
exec /usr/bin/caddy run --config /etc/caddy/Caddyfile
|
|
|
|
|
|
|
|
|