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
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit
This commit is contained in:
parent
b80c0b12fe
commit
bd217f0666
4 changed files with 54 additions and 1 deletions
|
@ -41,7 +41,7 @@ nodes['home.router'] = {
|
|||
# connected longer than 24 hours. We install this cronjob
|
||||
# to make sure we don't get disconnected randomly during the
|
||||
# day.
|
||||
'restart_pppd': '23 2 * * * root systemctl restart pppoe',
|
||||
'restart_pppd': '23 2 * * * root systemctl restart pppoe && date -u +%s > /var/tmp/pppd-last-restart.status',
|
||||
},
|
||||
'dhcpd': {
|
||||
'subnets': {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue