Files
octodocker_deploy/octocam_mjpg.service
2023-04-25 16:38:06 -04:00

13 lines
417 B
Desktop File

[Unit]
Description=the OctoPi(buntu) webcam 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 -timeout 30" -o "output_http.so -p CAMPORT"
[Install]
WantedBy=multi-user.target