bundles/unbound: only start unbound after pppoe.service has been started (fixes #23)
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
275249481f
commit
e40f88aa69
2 changed files with 12 additions and 0 deletions
3
bundles/unbound/files/override.conf
Normal file
3
bundles/unbound/files/override.conf
Normal file
|
@ -0,0 +1,3 @@
|
|||
[Unit]
|
||||
After=
|
||||
After=pppoe.service
|
|
@ -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',
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue