first working version

This commit is contained in:
2023-02-26 20:13:13 +01:00
parent 6caf1f89ea
commit 76e74f64e4
4 changed files with 136 additions and 1 deletions

View File

@ -0,0 +1,15 @@
[Unit]
Description=MAC-Watcher
After=syslog.target
After=network.target
[Service]
RestartSec=2s
Type=oneshot
User=root
Group=root
WorkingDirectory=/home/hendrik/git/mac_watcher/
ExecStart=/usr/bin/python3 /opt/mac_watcher/mac_watcher.py
[Install]
WantedBy=multi-user.target