summarylogtreecommitdiffstats
path: root/zoneminder.service
blob: 4ba745844503f01eeea5f9d6a5ac109392161f95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# ZoneMinder systemd unit file for Arch Linux

[Unit]
Description=ZoneMinder CCTV recording and security system
After=network.target mysqld.service httpd.service
Requires=mysqld.service httpd.service

[Service]
User=http
Type=forking
ExecStart=/usr/bin/zmpkg.pl start
ExecReload=/usr/bin/zmpkg.pl restart
ExecStop=/usr/bin/zmpkg.pl stop
PIDFile="/srv/zoneminder/zm.pid"

[Install]
WantedBy=multi-user.target