Public bug reported:

A vanilla install of motion configures motion to run as user "motion"
and provides a correctly chowned dir, /var/run/motion, for storing the
pidfile, motion.pid.

However, init script and motion.conf contain incorrect values to use
this.

Editing the following lines fixes it:

/etc/init.d/motion
18:PIDFILE=/var/run/motion/$NAME.pid

/etc/motion/motion.conf
14:process_id_file /var/run/motion/motion.pid

After these changes are made, motion starts and stops correctly when run
in daemon mode.

** Affects: motion (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Default init/conf scripts for motion are broken
https://bugs.launchpad.net/bugs/242459
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to