summarylogtreecommitdiffstats
path: root/burstcoin-wallet.install
blob: 21cc1977f626b59c5300d23382b003d9c6164bbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
post_install() {
  update-mime-database /usr/share/mime 1> /dev/null
  update-desktop-database -q
  xdg-icon-resource forceupdate --theme hicolor

  echo "+-------------------------------------------------------------------------------------+"
  echo "| Config: /opt/burstcoin-wallet/conf/brs-default.properties                           |"
  echo "| By default, burst wallet uses MySQL                                                 |"
  echo "|                                                                                     |"
  echo "| If you want to use MySQL: pacman -S mariadb                                         |"
  echo "| and configure by instruction: https://github.com/PoC-Consortium/burstcoin           |"
  echo "|                                                                                     |"
  echo "| If you want to use H2 DB, you do not need to install additional,                    |"
  echo "| change parameters in config, where DB.url is path to file where will storage DB:    |"
  echo "| DB.Url=jdbc:h2:/home/USER/burst_db/burst;DB_CLOSE_ON_EXIT=FALSE                     |"
  echo "| DB.Username=                                                                        |"
  echo "| DB.Password=                                                                        |"
  echo "|                                                                                     |"
  echo "| Run wallet: sudo systemctl start burstcoin-wallet.service                           |"
  echo "| URL: http://127.0.0.1:8125/index.html                                               |"
  echo "+-------------------------------------------------------------------------------------+"
}

post_upgrade() {
  post_install
}