Skip to content

Commit

Permalink
Migrate roles to new format on start
Browse files Browse the repository at this point in the history
  • Loading branch information
horazont committed Mar 29, 2023
1 parent 8210e5f commit 9899515
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,9 @@ if test -d /snikket/prosody/http_upload; then
prosodyctl mod_migrate_http_upload "share.$SNIKKET_DOMAIN" "$SNIKKET_DOMAIN"
fi

# COMPAT: migrate from 0.12 series role storage
if ! test -d /snikket/prosody/*/account_roles; then
prosodyctl mod_authz_internal migrate "$SNIKKET_DOMAIN"
fi

exec supervisord -c /etc/supervisor/supervisord.conf

0 comments on commit 9899515

Please sign in to comment.