summaryrefslogtreecommitdiffstats
path: root/abs/core/zoneminder/zoneminder.service
blob: 48268f1391d8d03f69d510695e93ed8c9adab95c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[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=/run/zoneminder/zm.pid

[Install]
WantedBy=multi-user.target