summarylogtreecommitdiffstats
path: root/matrix-authentication-service.install
blob: 194ed8cbaf49e18fe7529e4792f121dc4e572f0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
post_install() {
  chown -R mas:mas /usr/share/matrix-authentication-service
  cat << EOF
  ==> Generate the config.yaml, including secrets:
  # mas-cli config generate /etc/matrix-authentication-service/config.yaml
  ==> update the configuration as per the documentation
  # https://matrix-org.github.io/matrix-authentication-service/index.html
  ==> sync the config changes
  # mas-cli config sync --prune
  ==> start and enable the service
  # systemctl enable --now matrix-authentication-service
EOF
}

post_upgrade() {
  chown -R mas:mas /usr/share/matrix-authentication-service
}