File: zoneminder.service

package info (click to toggle)
zoneminder 1.34.23-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 47,692 kB
  • sloc: php: 215,940; perl: 124,881; javascript: 53,073; cpp: 41,578; sql: 5,750; sh: 2,536; ansic: 1,467; makefile: 619; xml: 241; asm: 157; python: 34
file content (21 lines) | stat: -rw-r--r-- 531 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# ZoneMinder systemd unit file
# This file is intended to work with Debian distributions

[Unit]
Description=ZoneMinder CCTV recording and surveillance system
After=network.target mysql.service
Wants=mysql.service
Documentation=http://zoneminder.readthedocs.org/en/latest/

[Service]
#Environment=TZ=:/etc/localtime
User=www-data
Type=forking
ExecStart=/usr/bin/zmpkg.pl start
ExecReload=/usr/bin/zmpkg.pl restart
ExecStop=/usr/bin/zmpkg.pl stop
PIDFile=/var/run/zm/zm.pid
Restart=on-abnormal

[Install]
WantedBy=multi-user.target