Franziska Kunsmann
33b85ff0de
All checks were successful
bundlewrap/pipeline/head This commit looks good
21 lines
529 B
Python
21 lines
529 B
Python
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',
|
|
},
|
|
},
|
|
}
|