I'm using the motion library on a raspberry pi zero with sketch.
In order to get the motion server to start on boot, 've updated /etc/rc.local to include the following:
sudo motion -c ~/.motion/motion.conf &
I'm having an issue with starting motion on boot. When I boot, I execute
ps aux | grep motion.conf
and see the following:
root 550 0.0 0.7 7212 2956 pts/0 S+ 14:30 0:00 sudo motion -c /home/pi/.motion/motion.conf root 554 23.1 7.5 137524 28680 pts/0 Sl+ 14:30 3:13 motion -c /home/pi/.motion/motion.conf pi 595 0.0 0.4 4336 1660 pts/1 S+ 14:44 0:00 grep --color=auto motion.conf*
If I kill -9 the first two processes, I'm able to successfully execute
sudo motion -c ~/.motion/motion.conf
Thanks for your help.