17 lines
356 B
SYSTEMD
17 lines
356 B
SYSTEMD
|
[Unit]
|
||
|
Description=USB Scanner Eyoyo Kugelstossmeeting Rochlitz
|
||
|
After=network.target
|
||
|
StartLimitIntervalSec=0
|
||
|
|
||
|
[Service]
|
||
|
User=root
|
||
|
Group=root
|
||
|
Type=simple
|
||
|
Restart=always
|
||
|
#RestartSec=1
|
||
|
ExecStartPre=/usr/bin/sleep 1
|
||
|
ExecStart=/opt/Kugelstossmeeting-Scanner/venv/bin/python3 "/opt/Kugelstossmeeting-Scanner/usb-scanner.py"
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|