X-Git-Url: https://plomlompom.com/repos/?p=config;a=blobdiff_plain;f=buster%2Fsetup_scripts%2Fsetup_pleroma_source.sh;h=e60350f78e70b029697ea1d5ddf2c5b5adeaedcc;hp=614a7ed37f565986ce7035f568a557ad8913cf37;hb=f1901562e5d3859b4e9a9eb7c5f48c6db73fc8b1;hpb=48f069dd3e790b8716d1a03fcd6892cb51f10199 diff --git a/buster/setup_scripts/setup_pleroma_source.sh b/buster/setup_scripts/setup_pleroma_source.sh index 614a7ed..e60350f 100755 --- a/buster/setup_scripts/setup_pleroma_source.sh +++ b/buster/setup_scripts/setup_pleroma_source.sh @@ -58,7 +58,11 @@ mv config/{generated_config.exs,prod.secret.exs}" su postgres -s $SHELL -lc 'psql -f /tmp/setup_db.psql' su pleroma -s $SHELL -lc 'cd /opt/pleroma && MIX_ENV=prod mix ecto.migrate' -# TODO: config customization, prod.secret.exs +# Add our own plom.exs and import it to prod.secret.exs +echo '' >> /opt/pleroma/config/prod.secret.exs +echo 'import_config "plom.exs"' >> /opt/pleroma/config/prod.secret.exs +echo 'import Config' > /opt/pleroma/config/plom.exs +cat "${config_tree_prefix}/other_files/append_pleroma_config" >> /opt/pleroma/config/plom.exs # Single-pixel picture hack for removing Pleroma FE images. cp "${config_tree_prefix}/other_files/pixel.png" /var/lib/pleroma/static/