A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
start motion with pm2
-
trying to start motion with pm2 so i can have continue motion detection to my mirror.Pm2 allready starts and watches my mm.So i disabled motion running as deamon from motion.conf and default/motion file and i can start it manually by sudo motion .I kill it and trying to pm2 start motion and i get many errors like this:
motion[14421]: [0:motion] [EMG] [ALL] motion_startup: Exit motion, cannot create log file /var/log/motion/motion.log: Permission denied
what iam i doing wrong?
-
@costascontis motion is trying to write it’s log to /var/log, which requires root authority. I think u can change this in motion.conf