diff --git a/ilot/listmonk/APKBUILD b/ilot/listmonk/APKBUILD index a893b9c..2d65fa6 100644 --- a/ilot/listmonk/APKBUILD +++ b/ilot/listmonk/APKBUILD @@ -10,6 +10,7 @@ license="AGPL3" depends=" libcap-setcap postgresql + postgresql-contrib procps " makedepends="go npm nodejs yarn" @@ -52,6 +53,7 @@ package() { install -Dm644 -t "$pkgdir"/usr/share/webapps/listmonk/ \ schema.sql \ queries.sql \ + permissions.json \ config.toml.sample install -Dm755 listmonk "$pkgdir"/usr/share/webapps/listmonk/ install -Dm644 -t "$pkgdir"/usr/share/webapps/listmonk/frontend/dist/ \ diff --git a/ilot/listmonk/listmonk.post-install b/ilot/listmonk/listmonk.post-install index fe3cc8d..3e25f91 100644 --- a/ilot/listmonk/listmonk.post-install +++ b/ilot/listmonk/listmonk.post-install @@ -10,6 +10,12 @@ if [ "${0##*.}" = 'post-upgrade' ]; then * * listmonk --upgrade * + * If upgrading from v3.0.0, please first set the following env variables: + * + * export LISTMONK_ADMIN_USER=your-admin-user + * export LISTMONK_ADMIN_PASSWORD=your-admin-password + * listmonk --upgrade + * EOF else cat >&2 <<-EOF