This article
includes setup instructions for the Raspberry Pi camera, but doesn't capture setting it up as a service
(even though a few lines up it sets up OctoPrint as a service), and instead provides a pair of
relatively-complex scripts to be run at startup via /etc/rc.local
.
- copy
webcam.sh
to themjpg-streamer
directory (or wherever you'd like, just update theMJPG_DIR
variable) - copy
pi-webcam.service
to/etc/systemd/system/
(requiressudo
), ensureExecStart
points to the correct path