summaryrefslogtreecommitdiff
path: root/pcr/zoneminder/zoneminder.service
blob: ba41e89264ae87552c5d5f8c28f4e7517ec7f7cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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