bundles/unbound: only start unbound after pppoe.service has been started (fixes #23)
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2020-12-23 10:50:54 +01:00
parent 275249481f
commit e40f88aa69
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,3 @@
[Unit]
After=
After=pppoe.service

View file

@ -50,3 +50,12 @@ if node.has_bundle('netdata'):
'svc_systemd:netdata:restart',
},
}
if node.has_bundle('pppd'):
files['/etc/systemd/system/unbound.service.d/bundlewrap.conf'] = {
'source': 'override.conf',
'triggers': {
'action:systemd-reload',
'svc_systemd:unbound:restart',
},
}