inital working version
This commit is contained in:
14
msv-webcam-backend.service
Normal file
14
msv-webcam-backend.service
Normal file
@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=MSV-Webcam-Backend
|
||||
After=syslog.target
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
RestartSec=2s
|
||||
Type=oneshot
|
||||
User=msvwebcambackend
|
||||
WorkingDirectory=/opt/msv-webcam-backend/
|
||||
ExecStart=/usr/bin/python3 /opt/msv-webcam-backend/msv_webcam_backend.py
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in New Issue
Block a user