bundles/wireguard: re-add reconnect script for added resiliency
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-09-30 06:37:42 +02:00
parent 13057d6f76
commit 8656f99f8e
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 10 additions and 5 deletions

View file

@ -28,3 +28,10 @@ for number, (peer, config) in enumerate(sorted(node.metadata.get('wireguard/peer
'svc_systemd:systemd-networkd:restart',
},
}
if node.has_bundle('pppd'):
files['/etc/ppp/ip-up.d/reconnect-wireguard'] = {
'source': 'pppd-ip-up',
'content_type': 'mako',
'mode': '0755',
}