In trying to learn more about ZM in Docker I wandered to /run/zm. I discovered zm...sock and zm...lock and other file going back almost 2 months - over 1500 files. Shouldn't that get cleaned out on every (re)start?
Left over sock & lock files
Re: Left over sock & lock files
They should but whoever created your docker probably doesn't know about that.
In redhat/ubuntu land we use a tmpfiles.d config to do it.
In redhat/ubuntu land we use a tmpfiles.d config to do it.
Re: Left over sock & lock files
So if I were to add "rm -f /run/zm/*" at the beginning of the SQL section in entrypoint.sh
That way every time we run - docker start zoneminder - it would get cleaned out.
Thoughts?
That way every time we run - docker start zoneminder - it would get cleaned out.
Thoughts?