summarylogtreecommitdiffstats
path: root/unifi-video.install
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.install
downloadaur-d0ebc676734bf27e330811032290f72fc3d25b78.tar.gz
Initial commit, moving package to 'unifi-video' instead of 'unifi-video-bin'.
Diffstat (limited to 'unifi-video.install')
-rw-r--r--unifi-video.install9
1 files changed, 9 insertions, 0 deletions
diff --git a/unifi-video.install b/unifi-video.install
new file mode 100644
index 00000000000..f77e77276f7
--- /dev/null
+++ b/unifi-video.install
@@ -0,0 +1,9 @@
+# arg 1: the new package version
+post_install() {
+ systemd-sysusers unifi-video.conf
+ chown -R unifi-video:unifi-video /usr/lib/unifi-video/work /usr/lib/unifi-video/logs /usr/lib/unifi-video/conf /usr/lib/unifi-video/webapps
+ ln -s $( which mongod) /usr/lib/unifi-video/bin/
+ :
+}
+
+# vim:set ts=2 sw=2 et: