bundles/travelynx: use worker service instead of cronjob
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
1392ce3c58
commit
15dbc4307f
3 changed files with 26 additions and 3 deletions
|
@ -16,6 +16,11 @@ files = {
|
|||
'action:systemd-reload',
|
||||
},
|
||||
},
|
||||
'/etc/systemd/system/travelynx-worker.service': {
|
||||
'triggers': {
|
||||
'action:systemd-reload',
|
||||
},
|
||||
},
|
||||
'/opt/travelynx/travelynx.conf': {
|
||||
'content_type': 'mako',
|
||||
'context': node.metadata['travelynx'],
|
||||
|
@ -73,4 +78,10 @@ svc_systemd = {
|
|||
'directory:/var/cache/travelynx',
|
||||
},
|
||||
},
|
||||
'travelynx-worker': {
|
||||
'needs': {
|
||||
'file:/etc/systemd/system/travelynx-worker.service',
|
||||
'svc_systemd:travelynx',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue