zoneminder/distros/ubuntu1504_cmake_split_pack...
Andrew Bauer 2bc6f1627e Add support for conf.d subfolder (#1902)
* cmake changes to support conf.d

* php changes to support conf.d

* perl changes to support conf.d

* C changes to support conf.d

* add conf.d support to rpmspecfile

* fix typo

* specify ZM_CONFIG_SUBDIR in relevant target distros

* put back my config_file perl definition

* remove quotes from ZM macros

* fix snprintf

* add README to conf.d folder

* adjust rpm specfile

* remove custom permissions from README in rpmspecfile

* modify rpm README documentation to reflect conf.d support

* set ZM_CONFIG_SUBDIR in debian rules file
2017-06-05 16:39:19 -04:00
..
patches add ubuntu15.04 using cmake with split packages 2015-06-12 11:20:24 -04:00
po add ubuntu15.04 using cmake with split packages 2015-06-12 11:20:24 -04:00
source add ubuntu15.04 using cmake with split packages 2015-06-12 11:20:24 -04:00
README.Debian add ubuntu15.04 using cmake with split packages 2015-06-12 11:20:24 -04:00
apache.conf Add the missing F back in. 2017-02-13 22:15:10 +11:00
changelog update changelog to match last snapshot 2015-06-12 11:50:10 -04:00
compat add ubuntu15.04 using cmake with split packages 2015-06-12 11:20:24 -04:00
control Merge branch 'depracation_nation' of https://github.com/SteveGilvarry/ZoneMinder into SteveGilvarry-depracation_nation 2016-04-04 20:44:53 -05:00
copyright add ubuntu15.04 using cmake with split packages 2015-06-12 11:20:24 -04:00
docs add ubuntu15.04 using cmake with split packages 2015-06-12 11:20:24 -04:00
libzoneminder-perl.install add ubuntu15.04 using cmake with split packages 2015-06-12 11:20:24 -04:00
rules Add support for conf.d subfolder (#1902) 2017-06-05 16:39:19 -04:00
zoneminder-core.config add ubuntu15.04 using cmake with split packages 2015-06-12 11:20:24 -04:00
zoneminder-core.dirs add ubuntu15.04 using cmake with split packages 2015-06-12 11:20:24 -04:00
zoneminder-core.install limit man install to 8 to not conflict with man pages in libzoneminder-perl 2015-07-15 15:46:53 -04:00
zoneminder-core.links these links need to move under www to work 2015-08-19 13:31:56 -04:00
zoneminder-core.postinst add ubuntu15.04 using cmake with split packages 2015-06-12 11:20:24 -04:00
zoneminder-core.postrm add ubuntu15.04 using cmake with split packages 2015-06-12 11:20:24 -04:00
zoneminder-core.preinst add ubuntu15.04 using cmake with split packages 2015-06-12 11:20:24 -04:00
zoneminder-core.templates add ubuntu15.04 using cmake with split packages 2015-06-12 11:20:24 -04:00
zoneminder-core.zoneminder.init Setting the TZ ENV variable prevents every gettimeofday call from reading /etc/timezone 2015-10-01 11:47:12 -04:00
zoneminder-core.zoneminder.service add ubuntu15.04 using cmake with split packages 2015-06-12 11:20:24 -04:00
zoneminder-core.zoneminder.tmpfile add ubuntu15.04 using cmake with split packages 2015-06-12 11:20:24 -04:00
zoneminder-database.config add ubuntu15.04 using cmake with split packages 2015-06-12 11:20:24 -04:00
zoneminder-database.dirs add ubuntu15.04 using cmake with split packages 2015-06-12 11:20:24 -04:00
zoneminder-database.install add ubuntu15.04 using cmake with split packages 2015-06-12 11:20:24 -04:00
zoneminder-database.postinst add ubuntu15.04 using cmake with split packages 2015-06-12 11:20:24 -04:00
zoneminder-database.postrm add ubuntu15.04 using cmake with split packages 2015-06-12 11:20:24 -04:00
zoneminder-database.prerm add ubuntu15.04 using cmake with split packages 2015-06-12 11:20:24 -04:00
zoneminder-database.templates add ubuntu15.04 using cmake with split packages 2015-06-12 11:20:24 -04:00
zoneminder-ui-api.install add ubuntu15.04 using cmake with split packages 2015-06-12 11:20:24 -04:00
zoneminder-ui-api.links add the api tmp link 2015-08-20 20:36:09 -04:00
zoneminder-ui-base.config add ubuntu15.04 using cmake with split packages 2015-06-12 11:20:24 -04:00
zoneminder-ui-base.install add ubuntu15.04 using cmake with split packages 2015-06-12 11:20:24 -04:00
zoneminder-ui-base.links add ubuntu15.04 using cmake with split packages 2015-06-12 11:20:24 -04:00
zoneminder-ui-base.postinst add ubuntu15.04 using cmake with split packages 2015-06-12 11:20:24 -04:00
zoneminder-ui-base.postrm db_get fails if there is no debconf entry (for example if the package is not yet configured) 2015-07-23 15:08:06 -04:00
zoneminder-ui-base.templates add ubuntu15.04 using cmake with split packages 2015-06-12 11:20:24 -04:00
zoneminder-ui-classic.install add ubuntu15.04 using cmake with split packages 2015-06-12 11:20:24 -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.

These lines would mount /dev/sdX1 to /video_storage, and then 'link' /video_storage
to the locations that ZoneMinder expects them to be at.

         /dev/sdX1 /video_storage ext4 defaults 0 2
         /video_storage/zoneminder/images /var/cache/zoneminder/images none bind 0 2
         /video_storage/zoneminder/events /var/cache/zoneminder/events none bind 0 2

        or if you have a separate partition for each:

         /dev/sdX1 /var/cache/zoneminder/images ext4 defaults 0 2
         /dev/sdX2 /var/cache/zoneminder/events ext4 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