summarylogtreecommitdiffstats
path: root/unifi-video.service
diff options
context:
space:
mode:
authorDonald Webster2016-04-18 20:19:19 -0700
committerDonald Webster2016-04-18 20:19:19 -0700
commitd0ebc676734bf27e330811032290f72fc3d25b78 (patch)
tree95265c2fc212b7245dc41b7f5bb55a69f8323c43 /unifi-video.service
downloadaur-d0ebc676734bf27e330811032290f72fc3d25b78.tar.gz
Initial commit, moving package to 'unifi-video' instead of 'unifi-video-bin'.
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 00000000000..b760d24e269
--- /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