summarylogtreecommitdiffstats
path: root/gotify-server.install
blob: ba6501ea764492b84ac4c2a8da90fe89fbff1f5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
post_install() {
  echo 'Default login is admin:admin'
  echo 'Change it in /etc/gotify/config.yml or the web ui before exposing the service!'
}

post_upgrade() {
  if [[ $(vercmp '2.0.14-4' "$2") -eq 1 ]]; then
    echo 'Default port for gotify-server has changed with version "2.0.14-4"'
    echo 'old port: 8080'
    echo 'new port: 9071'
  fi
}