diff --git a/nodes/home/router.py b/nodes/home/router.py index c0ac875..4c7f197 100644 --- a/nodes/home/router.py +++ b/nodes/home/router.py @@ -25,6 +25,13 @@ nodes['home.router'] = { 'backups': { 'exclude_from_backups': True, }, + 'cron': { + # Our internet provider resets the connection if you're + # 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', + }, 'iptables': { 'custom_rules': [ 'iptables_both -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT',