diff --git a/run-pleroma.sh b/run-pleroma.sh index 848593d..d89b451 100755 --- a/run-pleroma.sh +++ b/run-pleroma.sh @@ -11,10 +11,10 @@ if [ ! -e "$PLEROMA_CONFIG_PATH" ] ; then generate-pleroma-config.sh fi +pleroma_ctl migrate + if [ "${USE_RUM:-n}" = "y" ] ; then - pleroma_ctl migrate + pleroma_ctl migrate --migrations-path priv/repo/optional_migrations/rum_indexing/ fi -pleroma_ctl migrate --migrations-path priv/repo/optional_migrations/rum_indexing/ - exec pleroma start