mirror of
https://github.com/linuxserver/docker-transmission.git
synced 2025-11-02 09:45:47 +01:00
rebase to alpine
This commit is contained in:
7
root/etc/cont-init.d/20-config
Normal file
7
root/etc/cont-init.d/20-config
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
mkdir -p /downloads/{complete,incomplete} /watch
|
||||
|
||||
[[ ! -f /config/settings.json ]] && cp /defaults/settings.json /config/settings.json
|
||||
|
||||
chown abc:abc /watch /config/settings.json /downloads /downloads/incomplete /downloads/complete
|
||||
3
root/etc/services.d/transmission/run
Normal file
3
root/etc/services.d/transmission/run
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
s6-setuidgid abc /usr/bin/transmission-daemon -g /config -c /watch -f
|
||||
Reference in New Issue
Block a user