summarylogtreecommitdiffstats
path: root/unifi-video.service
blob: e225ad9a446ecbda909ff8ed718345c44d43ad2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=Ubiquiti UniFi Video Server
After=network.target

[Service]
Type=forking
WorkingDirectory=/usr/lib/unifi-video
TimeoutStartSec=300
TimeoutStopSec=300
Restart=on-failure
RestartSec=5
StartLimitInterval=60s
StartLimitBurst=3
ExecStart=/usr/bin/unifi-video --verbose start
ExecStop=/usr/bin/unifi-video --verbose stop

[Install]
WantedBy=multi-user.target