summarylogtreecommitdiffstats
path: root/miniflux.install
blob: 73c7af6572d164b75a53c7c93f42d2a1b3fb01c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
APP_PATH="/usr/share/webapps/miniflux"
DATA_PATH="/var/lib/miniflux"

post_install() {
    cat << EOF

If using nginx don't forget to lock down $APP_PATH/data/db.sqlite!
EOF
post_upgrade
}

post_upgrade() {
    chown -R http:http "${APP_PATH}"
    chown -R http:http "${DATA_PATH}"

    ln -s "${DATA_PATH}" "${APP_PATH}/data"
}