Files
octodocker_deploy/octocam_generic.service
paukstelis 3c0f99352e fix prepare
2022-01-22 11:05:59 -05:00

13 lines
405 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" -o "output_http.so -p CAMPORT"
[Install]
WantedBy=multi-user.target