mac_watcher/scripts/mac-watcher.service

16 lines
264 B
Desktop File

[Unit]
Description=MAC-Watcher
After=syslog.target
After=network.target
[Service]
RestartSec=2s
Type=oneshot
User=root
Group=root
WorkingDirectory=/opt/mac_watcher/
ExecStart=/usr/bin/python3 /opt/mac_watcher/mac_watcher.py
[Install]
WantedBy=multi-user.target