# Periodic imaging-NIC watch (pxe-nic-check.timer runs this every 5 min). # Listens 60 s on each NIC, probes the imaging NIC for foreign DHCP, writes # /run/pxe-nic-status.json for the webapp, and STOPS dnsmasq if the imaging # NIC turns out to be on the GE network or next to another DHCP server. # It never starts dnsmasq: after fixing the cabling, start it by hand # (systemctl start dnsmasq), which re-runs the guard. If dnsmasq was # restarted inside the window it re-checks (~6 s) before stopping it. [Unit] Description=PXE NIC watch: keep dnsmasq off the GE corporate network After=network.target [Service] Type=oneshot ExecStart=/usr/local/sbin/pxe-nic-check --watch TimeoutStartSec=180 Nice=5