kugelstossmeeting-ticketing/usb-scanner.service

17 lines
360 B
SYSTEMD
Raw Permalink Normal View History

2025-01-06 20:02:09 +01:00
[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
2025-01-06 20:15:19 +01:00
ExecStart=/opt/kugelstossmeeting-ticketing/venv/bin/python3 "/opt/kugelstossmeeting-ticketing/usb-scanner.py"
2025-01-06 20:02:09 +01:00
[Install]
WantedBy=multi-user.target