16 lines
411 B
Plaintext
16 lines
411 B
Plaintext
#!/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"
|
|
exec 2>&1
|
|
exec /usr/bin/caddy run --config /etc/caddy/Caddyfile
|
|
|
|
|