summarylogtreecommitdiffstats
path: root/unifi-video.install
blob: b21d5f2089f750aafcdda8669d03c810fb6af001 (plain)
1
2
3
4
5
6
7
8
9
10
11
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/

  if ! [[ -x $( which java ) ]]; then
    echo "Could not find java, please use archlinux-java to select a default."
  fi
}

# vim:set ts=2 sw=2 et: