ustreamer

This commit is contained in:
paukstelis
2022-05-16 18:08:45 -04:00
parent 0a973a12c4
commit b64e4e3d0f
3 changed files with 5 additions and 16 deletions

View File

@@ -1,12 +1,11 @@
[Unit]
Description=the OctoPi(buntu) webcam daemon with the user specified config
Description=the OctoPi(buntu) ustreamer daemon with the user specified config
After=network.online.target
Wants=network.online.target
[Service]
User=OCTOUSER
Environment="LD_LIBRARY_PATH=/home/OCTOUSER/mjpg-streamer"
ExecStart=/home/OCTOUSER/mjpg-streamer/mjpg_streamer -i "input_uvc.so -d /dev/OCTOCAM -r RESOLUTION -f FRAMERATE" -o "output_http.so -p CAMPORT"
ExecStart=/home/OCTOUSER/ustreamer/ustreamer -d /dev/OCTOCAM -m MJPEG -r RESOLUTION -f FRAMERATE -p CAMPORT --device-timeout 8 --device-error-delay 8
[Install]
WantedBy=multi-user.target