first working version
This commit is contained in:
15
scripts/mac-watcher.service
Normal file
15
scripts/mac-watcher.service
Normal 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
|
Reference in New Issue
Block a user