process_id_file

  • Type: String
  • Range / Valid values: Max 4095 characters
  • Default: Not defined
  • Option Topic

File to store the process ID, also called pid file. Recommended value when used: /var/run/motion.pid

When Motion is started and this option is defined, Motion creates a file containing the process ID if the main Motion thread. This can be used by scripts to identify the process number for example when you want to stop the process.

If you want to run multiple instances of Motion make sure to use different file names for the process ID file. The process ID file (pid file) can also be specified with the -p command line switch.

This option was added in Motion 3.2.7.

Comments


ConfigOptionForm edit

Option process_id_file
Type String
Range Max 4095 characters
Default Not defined
Description File to store the process ID, also called pid file. Recommended value when used: /var/run/motion.pid
Group Runtime Options
Topic revision: r1 - 16 Oct 2006 - 07:47:05 - KennethLavrsen
Motion.ConfigOptionTemplate moved from Motion.CreateOptionTemplate on 09 Apr 2005 - 20:36 by KennethLavrsen
 
Motion - Config Option Process Id File
Copyright © 1999-2010 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.