home.router: disable pppd restart at night

This commit is contained in:
Franzi 2023-12-10 15:20:20 +01:00
parent 63d42c6b42
commit 493dc91e0d
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -36,15 +36,15 @@ nodes['home.router'] = {
'172.19.139.0/24', '172.19.139.0/24',
}, },
}, },
'cron': { # 'cron': {
'jobs': { # 'jobs': {
# Our internet provider resets the connection if you're # # Our internet provider resets the connection if you're
# connected longer than 24 hours. We install this cronjob # # connected longer than 24 hours. We install this cronjob
# to make sure we don't get disconnected randomly during the # # to make sure we don't get disconnected randomly during the
# day. # # day.
'restart_pppd': '23 2 * * * root systemctl restart pppoe && date -u +\%s > /var/tmp/pppd-last-restart.status', # 'restart_pppd': '23 2 * * * root systemctl restart pppoe && date -u +\%s > /var/tmp/pppd-last-restart.status',
}, # },
}, # },
'kea-dhcp-server': { 'kea-dhcp-server': {
'subnets': { 'subnets': {
'enp1s0.1138': { 'enp1s0.1138': {