bundles/pppd: make sure dependent services are stopped before restarting pppoe session
This commit is contained in:
parent
7e4c69c3f1
commit
0aafeb96cd
5 changed files with 54 additions and 2 deletions
|
@ -5,3 +5,17 @@ defaults = {
|
|||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@metadata_reactor
|
||||
def pppd(metadata):
|
||||
if metadata.get('wide-dhcp6c/integrate-with-pppd', False):
|
||||
return {
|
||||
'pppd': {
|
||||
'wait-until-stopped': {
|
||||
'radvd.service',
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
return {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue