mjpg-streamer/mjpg_streamer@.service

11 lines
285 B
Desktop File

[Unit]
Description=A server for streaming Motion-JPEG from a video capture device
After=network.target
[Service]
User=mjpg_streamer
ExecStart=/usr/bin/mjpg_streamer -i 'input_uvc.so -d /dev/%I' -o 'output_http.so -w /usr/share/mjpg_streamer/www'
[Install]
WantedBy=multi-user.target