bundles/transmission: add bundle, add to home.downloadhelper
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-01-08 16:10:44 +01:00
parent dca13263e2
commit 33b85ff0de
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 110 additions and 0 deletions

View file

@ -0,0 +1,21 @@
from bundlewrap.metadata import metadata_to_json
# transmission overwrites this on a restart. As of 2021-01 there's no
# way of disabling that.
files = {
'/etc/transmission-daemon/settings.json': {
'content': metadata_to_json(node.metadata['transmission']['config']),
'mode': '0444',
'triggers': {
'svc_systemd:transmission-daemon:reload',
},
},
}
svc_systemd = {
'transmission-daemon': {
'needs': {
'pkg_apt:transmission-daemon',
},
},
}