bundles/travelynx: use worker service instead of cronjob
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2020-08-19 21:51:03 +02:00
parent 1392ce3c58
commit 15dbc4307f
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 26 additions and 3 deletions

View file

@ -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',
},
},
}