Motion - Support Question 2007x 05x 31x 185858

Event Counter


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


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

-- BaraclosVargas - 31 May 2007



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'
killall -HUP motion

Cheers, Simon.
Topic revision: r3 - 16 Jun 2008, AngelCarpintero
Copyright © 1999-2024 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.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.