Event Counter

Question

Is there any way to reset the event counter without restarting the daemon.


Environment

Motion version: 3.2.7
ffmpeg version:  
Libraries: ffmpeg, mysql, postgresql
Server OS:  

-- BaraclosVargas - 31 May 2007

Answer

Hi,

You can signal Motion with a SIGHUP, this will re-read the config files and reset the event counter. It peforms effectively a restart, without you having to terminate the process and re-start it.

I do this every night at midnight on my installation.

kill -1 'pid-of-motion'
or
killall -HUP motion

Cheers, Simon.
Topic revision: 16 Jun 2008, AngelCarpintero
 
Motion - Support Question 2007x 05x 31x 185858
Copyright 1999-2014 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.