[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
