Created
August 2, 2016 15:56
-
-
Save chazcheadle/333a252bcdeb6b2aa721c2931a38c84d to your computer and use it in GitHub Desktop.
mjpg-steamer.service and script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=mjpg-streamer | |
| [Install] | |
| WantedBy=multi-user.target | |
| [Service] | |
| Type=oneshot | |
| RemainAfterExit=yes | |
| ExecStart=/opt/mjpg-streamer/mjpg-streamer-experimental/mjpg-streamer.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| mjpg_streamer -b -i "/usr/local/lib/mjpg-streamer/input_raspicam.so -rot 180 -fps 10 -x 640 -y 480" -o "/usr/local/lib/mjpg-streamer/output_http.so -w /var/www -p 8092" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment