zoneminder/distros/ubuntu1204
SteveGilvarry d8494aba2d Merge remote-tracking branch 'upstream/master' into feature-h264-videostorage
Conflicts:
	src/zm_monitor.cpp
	src/zm_monitor.h
	src/zm_remote_camera_rtsp.h
	web/skins/classic/views/monitor.php
2015-10-23 22:07:22 +11:00
..
patches already done in master 2015-01-03 13:59:54 -05:00
README.Debian This is a copy of the debian dir, the main change is to the Changelog so that the package gets built for precise 2013-10-03 13:53:37 -04:00
apache.conf This is a copy of the debian dir, the main change is to the Changelog so that the package gets built for precise 2013-10-03 13:53:37 -04:00
changelog Cherry-Pick from iconnor - make it compile on ubuntu 15.04. Which is libav 56.1.0 2015-07-28 21:39:47 +10:00
compat This is a copy of the debian dir, the main change is to the Changelog so that the package gets built for precise 2013-10-03 13:53:37 -04:00
control php-gd should isntead be php5-gd 2015-07-16 13:59:06 -04:00
copyright This is a copy of the debian dir, the main change is to the Changelog so that the package gets built for precise 2013-10-03 13:53:37 -04:00
dirs This is a copy of the debian dir, the main change is to the Changelog so that the package gets built for precise 2013-10-03 13:53:37 -04:00
docs This is a copy of the debian dir, the main change is to the Changelog so that the package gets built for precise 2013-10-03 13:53:37 -04:00
init.d Setting the TZ ENV variable prevents every gettimeofday call from reading /etc/timezone 2015-10-01 11:46:51 -04:00
install update to what has been done in debian 2014-12-17 15:43:32 -05:00
links this is in debian 2014-12-17 16:11:26 -05:00
postinst check for mysql existence first. 2013-12-17 13:13:45 -05:00
postrm This is a copy of the debian dir, the main change is to the Changelog so that the package gets built for precise 2013-10-03 13:53:37 -04:00
preinst This is a copy of the debian dir, the main change is to the Changelog so that the package gets built for precise 2013-10-03 13:53:37 -04:00
rules libjpeg updates to match debian 2014-12-17 16:10:54 -05:00
watch This is a copy of the debian dir, the main change is to the Changelog so that the package gets built for precise 2013-10-03 13:53:37 -04:00

README.Debian

zoneminder for Debian
---------------------

There is one manual step to get the web interface working.
You need to link /etc/zm/apache.conf to /etc/apache2/conf.d/zoneminder.conf,
then reload the apache config (i.e. /etc/init.d/apache2 reload)

Changing the location for images and events
-------------------------------------------

Zoneminder, in its upstream form, stores data in /usr/share/zoneminder/.  This
package modifies that by changing /usr/share/zoneminder/images and
/usr/share/zoneminder/events to symlinks to directories under
/var/cache/zoneminder.

There are numerous places these could be put and ways to do it.  But, at the
moment, if you change this, an upgrade will fail with a warning about these
locations having changed (the reason for this was that previously, an  upgrade
would silently revert the changes and cause event loss - refer
bug #608793).

If you do want to change the location, here are a couple of suggestions.
(thanks to vagrant@freegeek.org):

These lines in fstab could allow you to bind-mount an alternate location

         /dev/sdX1 /otherdrive ext3 defaults 0 2
         /otherdrive/zoneminder/images /var/cache/zoneminder/images bind defaults 0 2
         /otherdrive/zoneminder/events /var/cache/zoneminder/events bind defaults 0 2

        or if you have a separate partition for each:

         /dev/sdX1 /var/cache/zoneminder/images ext3 defaults 0 2
         /dev/sdX2 /var/cache/zoneminder/events ext3 defaults 0 2



 -- Peter Howard <pjh@northern-ridge.com.au>, Sun, 16 Jan 2010 01:35:51 +1100

Access to /dev/video*
---------------------

For cameras which require access to /dev/video*, zoneminder may need the 
www-data user added to the video group in order to see those cameras:

  adduser www-data video

Note that all web applications running on the zoneminder server will then have 
access to all video devices on the system.

 -- Vagrant Cascadian <vagrant@debian.org>  Sun, 27 Mar 2011 13:06:56 -0700