bundlewrap/bundles/mjpg-streamer/files/mjpg-streamer.service

15 lines
442 B
SYSTEMD
Raw Permalink Normal View History

2020-09-22 17:59:36 +00:00
[Unit]
Description=mjpg-streamer-experimental
After=network.target
[Service]
User=mjpg-streamer
Group=mjpg-streamer
Environment=LD_LIBRARY_PATH=/opt/mjpg-streamer/git/mjpg-streamer-experimental
ExecStart=/opt/mjpg-streamer/git/mjpg-streamer-experimental/mjpg_streamer -i "${node.metadata['mjpg-streamer']['input-plugin']}" -o "output_http.so -p 22040"
WorkingDirectory=/opt/mjpg-streamer
Restart=always
2020-09-22 17:59:36 +00:00
[Install]
WantedBy=multi-user.target