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 deniedwhat 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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login