summarylogtreecommitdiffstats
path: root/writefreely.install
blob: 9c82d27ce31ac2519f1095ea4ec5aaea91c8c68d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
post_upgrade() {
  echo "---"
  echo "To begin, configure your blog using 'writefreely --configure'."
  echo "If using mariadb, create a database called 'writefreely'"
  echo "then initialize the database with 'writefreely --init-db'."
  echo "---"
}

post_install() {
  cd /var/lib/writefreely
  sudo -u writefreely writefreely -gen-keys

  post_upgrade
}