summarylogtreecommitdiffstats
path: root/unifi-video.install
diff options
context:
space:
mode:
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 000000000000..f77e77276f72
--- /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: