summarylogtreecommitdiffstats
path: root/unifi-video.service
blob: 2663b45db888c9347eec87d37d054cae0a1f7591 (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=simple
WorkingDirectory=/usr/lib/unifi-video
TimeoutStartSec=300
TimeoutStopSec=300
Restart=on-failure
RestartSec=5
StartLimitInterval=60s
StartLimitBurst=3
ExecStart=/usr/bin/unifi-video --nodetach start
ExecStop=/usr/bin/unifi-video --nodetach stop

[Install]
WantedBy=multi-user.target