summarylogtreecommitdiffstats
path: root/unifi-video.service
diff options
context:
space:
mode:
Diffstat (limited to 'unifi-video.service')
-rw-r--r--unifi-video.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/unifi-video.service b/unifi-video.service
new file mode 100644
index 000000000000..b760d24e2693
--- /dev/null
+++ b/unifi-video.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Ubiquiti UniFi Video Server
+After=network.target
+
+[Service]
+WorkingDirectory=/usr/lib/unifi-video
+TimeoutStartSec=300
+TimeoutStopSec=300
+ExecStart=/usr/bin/unifi-video --verbose --nodetach start
+ExecStop=/usr/bin/unifi-video --verbose --nodetach stop
+
+[Install]
+WantedBy=multi-user.target