[Unit] Description=MAC Watcher - SNMP MAC table monitor with Prometheus exporter After=network.target Wants=network.target [Service] Type=simple User=root Group=root WorkingDirectory=/opt/mac_watcher ExecStart=/usr/bin/python3 /opt/mac_watcher/mac_watcher.py Restart=on-failure RestartSec=10s StandardOutput=journal StandardError=journal [Install] WantedBy=multi-user.target