renaming the .zm.mmap.## file [SOLVED]

Forum for questions and support relating to the 1.24.x releases only.
Locked
th
Posts: 23
Joined: Wed Dec 30, 2009 4:05 am
Location: Iowa

renaming the .zm.mmap.## file [SOLVED]

Post by th »

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
Last edited by th on Sun Feb 07, 2010 3:18 am, edited 1 time in total.
th
Posts: 23
Joined: Wed Dec 30, 2009 4:05 am
Location: Iowa

Re: renaming the .zm.mmap.## file

Post by th »

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.
Locked