bundles/transmission: always try to restart transmission
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
a86e04683a
commit
9f8cbde7d7
2 changed files with 10 additions and 0 deletions
3
bundles/transmission/files/override.conf
Normal file
3
bundles/transmission/files/override.conf
Normal file
|
@ -0,0 +1,3 @@
|
|||
[Service]
|
||||
Restart=always
|
||||
RestartSec=30
|
|
@ -7,6 +7,13 @@ files = {
|
|||
'content': metadata_to_json(node.metadata['transmission']['config']),
|
||||
'mode': '0444',
|
||||
},
|
||||
'/etc/systemd/system/transmission-daemon.service.d/bundlewrap.conf': {
|
||||
'source': 'override.conf',
|
||||
'triggers': {
|
||||
'action:systemd-reload',
|
||||
'svc_systemd:transmission-daemon:restart',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
actions = {
|
||||
|
|
Loading…
Reference in a new issue