A collection of 4 posts
Preamble I have a Raspberry Pi Zero W running a project that involves taking pictures of "Raffy" the cat-who-owns-me, triggered by motion as he (Raffy) enters the kitchen through the cat flap. (much, much, more on that topic to come, later...). I was originally making use of the linux package:
Raspbian Service creation from python script
Not intended to be a tutorial, there are plenty of those with much better explanations than I can whip together out there on the nets. This is another page from my notebook of commands that I am endlessly re-Googling. Create a unit file: cd /lib/systemd/system/ sudo nano sample.
Setup Raspberry Pi with Motion 4.2.2 from scratch
Move fast, break things Download latest Raspbian image * https://www.raspberrypi.org/downloads/raspbian/ Flash your SD card with Raspbian * I used Balena Etcher (now working with Catalina) * https://www.balena.io/etcher/ Mount your freshly flashed SD card * unplug and replug the SD card * Navigate to the SD card