bundles/transmission: add bundle, add to home.downloadhelper
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
dca13263e2
commit
33b85ff0de
3 changed files with 110 additions and 0 deletions
21
bundles/transmission/items.py
Normal file
21
bundles/transmission/items.py
Normal 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',
|
||||
},
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue