bundlewrap/bundles/pppd/metadata.py
Franzi bd217f0666
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit
bundles/pppd: automatically restart pppoe (once per hour) if no public ip address can be found
2020-12-10 16:14:17 +01:00

15 lines
348 B
Python

defaults = {
'apt': {
'packages': {
'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',
},
}