summarylogtreecommitdiffstats
path: root/mautrix-telegram.install
blob: 0e0c856d371ebff51d7c0887d9ceec7d97e03898 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
post_install() {
cat << 'EOM'
  #
  # change the configuration file /etc/mautrix-telegram/config.yaml and execute the commands:
  #
  cd /etc/mautrix-telegram/
  alembic upgrade head
  /usr/bin/mautrix-telegram -b /etc/mautrix-telegram/config.yaml -c /etc/mautrix-telegram/config.yaml -r /etc/mautrix-telegram/registration.yaml -g
EOM
}

post_upgrade() {
cat << 'EOM'
  #
  # update your database with the following commands:
  #
  cd /etc/mautrix-telegram/
  alembic upgrade head
EOM
}

# vim: ts=2 sw=2 et: