summaryrefslogtreecommitdiffstats
path: root/abs/core/zoneminder/zoneminder.service
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-11-01 20:57:51 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-11-01 20:57:51 (GMT)
commite851f51157ac00aa3de03f4bb9743c6a7d91bea8 (patch)
tree9e8b5cc91129ce33d469c7be61c091b135b6aa93 /abs/core/zoneminder/zoneminder.service
parent8fefa501175bdcc7d250b27bf8475b55f79e03cd (diff)
downloadlinhes_pkgbuild-e851f51157ac00aa3de03f4bb9743c6a7d91bea8.zip
linhes_pkgbuild-e851f51157ac00aa3de03f4bb9743c6a7d91bea8.tar.gz
linhes_pkgbuild-e851f51157ac00aa3de03f4bb9743c6a7d91bea8.tar.bz2
zoneminder 1.25: made it easier for end users to get this product up and running.
It will not integrate itself with lighttpd and install the database. runit-scripts holds the run file. All that should be needed for this package to work is add_service zoneminder Then access the console at http://localhost/zm Unfortunatly only mythzoneminder on the backend will be able to use zoneminder. This is a shortcoming of the integration with myth and zoneminder.
Diffstat (limited to 'abs/core/zoneminder/zoneminder.service')
-rw-r--r--abs/core/zoneminder/zoneminder.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/abs/core/zoneminder/zoneminder.service b/abs/core/zoneminder/zoneminder.service
new file mode 100644
index 0000000..05cae6f
--- /dev/null
+++ b/abs/core/zoneminder/zoneminder.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Capture, analyse, record and monitor video security cameras
+After=network.target remote-fs.target
+Required=mysqld.service
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/zmpkg.pl start
+ExecRestart=/usr/bin/zmpkg.pl restart
+ExecStop=/usr/bin/zmpkg.pl stop
+
+[Install]
+WantedBy=multi-user.target