summaryrefslogtreecommitdiff
path: root/pcr/zoneminder-lts/zoneminder.service
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/zoneminder-lts/zoneminder.service')
-rw-r--r--pcr/zoneminder-lts/zoneminder.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/pcr/zoneminder-lts/zoneminder.service b/pcr/zoneminder-lts/zoneminder.service
new file mode 100644
index 000000000..05cae6f91
--- /dev/null
+++ b/pcr/zoneminder-lts/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