mirror of
https://github.com/linuxserver/docker-transmission.git
synced 2025-11-11 22:15:40 +01:00
11 lines
226 B
Bash
11 lines
226 B
Bash
#!/usr/bin/with-contenv bash
|
|
|
|
BLOCKLIST_URL=`jq -r '.["blocklist-url"]' settings.json`
|
|
|
|
rm /config/blocklists/*
|
|
cd /config/blocklists
|
|
wget -q $BLOCKLIST_URL
|
|
gunzip *.gz
|
|
chmod go+r *
|
|
s6-svc -h /var/run/s6/services/transmission
|