summaryrefslogtreecommitdiff
path: root/pcr/zoneminder/zoneminder.service
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@adinet.com.uy>2012-09-25 13:18:26 -0300
committerMárcio Alexandre Silva Delgado <coadde@adinet.com.uy>2012-09-25 13:18:26 -0300
commitf89037a7471edd92e5f4ab8068920bb51c7abe45 (patch)
tree25157ee0b88dd983bc6bef9e5cd8e76fa29aedfa /pcr/zoneminder/zoneminder.service
parent2460d0789e2da256ebb98d33d34e055a5cb0b603 (diff)
zoneminder: updating package
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