bundles/pppd: automatically restart pppoe (once per hour) if no public ip address can be found
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit

This commit is contained in:
Franzi 2020-12-10 16:14:17 +01:00
parent b80c0b12fe
commit bd217f0666
Signed by: kunsi
GPG key ID: 12E3D2136B818350
4 changed files with 54 additions and 1 deletions

View file

@ -4,7 +4,11 @@ defaults = {
'ppp': {},
'pppoe': {},
'python3-requests': {},
'python3-netifaces': {},
'ndisc6': {},
},
},
'cron': {
'restart-pppoe-if-no-public-ip': '*/5 * * * * root /usr/local/bin/restart-pppoe-if-no-public-ip',
},
}