I'm planning to run a few instances of Zoneminder on a single system.
I've found ways around everything such as database names, init scripts, socket files, etc, etc. But one that is a little trickier than a standard mysql or script change is the name of the .zm.mmap.## file when you're using MMAP.
Is there any way other than adjusting the source code to alter that name?
Otherwise I'm afraid as soon as I have a second instance with a camera, its going to be fighting for /dev/shm/.zm.mmap.1
Thanks
renaming the .zm.mmap.## file [SOLVED]
renaming the .zm.mmap.## file [SOLVED]
Last edited by th on Sun Feb 07, 2010 3:18 am, edited 1 time in total.
Re: renaming the .zm.mmap.## file
Never mind on the question.
It turns out that by changing ZM_PATH_MAP to a (sub)directory based on the instance, it won't overlap file names.
It turns out that by changing ZM_PATH_MAP to a (sub)directory based on the instance, it won't overlap file names.