Rebuild net_alerter as persistent daemon — DHCP sniffer + Netlink RTM_NEWNEIGH/DELNEIGH; removes 5-min cron, zero active probing

This commit is contained in:
Cobra
2026-04-08 21:55:02 -04:00
parent 402c4e849b
commit 431571dd82
2 changed files with 442 additions and 286 deletions
+16
View File
@@ -0,0 +1,16 @@
[Unit]
Description=Net Alerter
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
WorkingDirectory=/opt/net_alerter
EnvironmentFile=/opt/net_alerter/.env
ExecStart=/usr/bin/python3 /opt/net_alerter/net_alerter.py
Restart=always
RestartSec=10
User=root
[Install]
WantedBy=multi-user.target