summarylogtreecommitdiffstats
path: root/unifi-video.install
diff options
context:
space:
mode:
Diffstat (limited to 'unifi-video.install')
-rw-r--r--unifi-video.install5
1 files changed, 4 insertions, 1 deletions
diff --git a/unifi-video.install b/unifi-video.install
index b21d5f2089f7..de721604f43c 100644
--- a/unifi-video.install
+++ b/unifi-video.install
@@ -1,5 +1,4 @@
post_install() {
- systemd-sysusers unifi-video.conf
chown -R unifi-video:unifi-video /usr/lib/unifi-video/
ln -s $( which mongod) /usr/lib/unifi-video/bin/
@@ -8,4 +7,8 @@ post_install() {
fi
}
+post_upgrade() {
+ post_install "$1"
+}
+
# vim:set ts=2 sw=2 et: