16 lines
277 B
SYSTEMD
16 lines
277 B
SYSTEMD
|
[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
|