summaryrefslogtreecommitdiff
path: root/pcr/zoneminder/zoneminder.service
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-09-26 16:55:49 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-09-26 16:55:49 -0400
commitad1725db924d8330ec3c9cd738f214f51fbc4504 (patch)
tree349d2f047eb312e75cdc9c0ac9e38b25f7dd51d2 /pcr/zoneminder/zoneminder.service
parent928f7e0d03b6d5952462ce955ce66f5b80dfdeb8 (diff)
parentf9404aabf6f47252c537d9ac6546d9a0aa0f04e2 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/zoneminder/zoneminder.service')
-rw-r--r--pcr/zoneminder/zoneminder.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/pcr/zoneminder/zoneminder.service b/pcr/zoneminder/zoneminder.service
new file mode 100644
index 000000000..ba41e8926
--- /dev/null
+++ b/pcr/zoneminder/zoneminder.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Capture, analyse, record and monitor video security cameras
+After=network.target remote-fs.target
+Required=mysqld.service
+
+[Service]
+Type=forking
+PIDFile=/run/zm.pid
+ExecStart=/usr/bin/zmpkg.pl start
+ExecRestart=/usr/bin/zmpkg.pl restart
+ExecStop=/usr/bin/zmpkg.pl stop
+
+[Install]
+WantedBy=multi-user.target