annotate net/files/house_net.service @ 332:d4893670f888 default tip

WIP: use watchdog reboot timer on pi
author drewp@bigasterisk.com
date Thu, 27 Feb 2025 11:09:29 -0800
parents 8558ea135812
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
94
122ba5444176 dhcp,dns to pipe
drewp@bigasterisk.com
parents: 89
diff changeset
1 # written by pyinfra
122ba5444176 dhcp,dns to pipe
drewp@bigasterisk.com
parents: 89
diff changeset
2
69
659e4b228909 new host 'pipe'
drewp@bigasterisk.com
parents:
diff changeset
3 [Unit]
328
8558ea135812 fix dnsmasq startup ordering
drewp@bigasterisk.com
parents: 326
diff changeset
4 After=network-online.target
69
659e4b228909 new host 'pipe'
drewp@bigasterisk.com
parents:
diff changeset
5
659e4b228909 new host 'pipe'
drewp@bigasterisk.com
parents:
diff changeset
6 [Service]
659e4b228909 new host 'pipe'
drewp@bigasterisk.com
parents:
diff changeset
7 Type=oneshot
107
d70816c7c7db fix pipe net forwarding after update to ubuntu 22.04
drewp
parents: 94
diff changeset
8 ExecStart=sh -c "sysctl net.ipv4.ip_forward=1 && /usr/sbin/iptables -A POSTROUTING --table nat --out-interface eth0 --jump MASQUERADE"
94
122ba5444176 dhcp,dns to pipe
drewp@bigasterisk.com
parents: 89
diff changeset
9 RemainAfterExit=yes
122ba5444176 dhcp,dns to pipe
drewp@bigasterisk.com
parents: 89
diff changeset
10
69
659e4b228909 new host 'pipe'
drewp@bigasterisk.com
parents:
diff changeset
11
85
1ac08aba5ae5 docker->podman, and some pkgs + inventory
drewp@bigasterisk.com
parents: 82
diff changeset
12 [Install]
1ac08aba5ae5 docker->podman, and some pkgs + inventory
drewp@bigasterisk.com
parents: 82
diff changeset
13 WantedBy=multi-user.target