I'd like to make some minor improvement suggestions for the Fedora 7 RPM of ZoneMinder (I use zoneminder-1.22.3-7.fc7).
I recently upgraded from FC6 to F7 and restored my MySQL database, and got caught out by a few config parameters.
After checking the zm_create.sql database creation script, there is an update to set the ZM_PATH_ZMS correctly for the Fedora RPM, but a couple of other parameters could also benefit from changes, IMHO.
The RPM creates /var/log/zoneminder, but the database scripts point logs to /tmp, rather than the new directory.
Code: Select all
ZM_PATH_LOGS = /var/log/zoneminder
ZM_EXTRA_DEBUG_LOG = /var/log/zoneminder/zm_debug.log+
Code: Select all
ZM_PATH_SOCKS = /var/run/zoneminder
Code: Select all
update Config set Value = '/var/log/zoneminder' where Name = 'ZM_PATH_LOGS';
update Config set Value = '/var/log/zoneminder/zm_debug.log+' where Name = 'ZM_EXTRA_DEBUG_LOG';
update Config set Value = '/var/run/zoneminder' where Name = 'ZM_PATH_SOCKS';
http://www.redhatmagazine.com/2007/08/2 ... cy-module/
Best regards,
James