This is a followup to my two year old thread that is now locked. TL;DR: how do I sent "q\r\n" to ffmpeg when stopping or restarting it in a service on Raspbian? My BeeCam is a Raspberry Pi3/Raspbian ...