X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/ledger2?a=blobdiff_plain;f=buster%2Fsetup_scripts%2Fsetup_pleroma.sh;h=cecba801f2bd8b431cca5ac2fdf3f39bdcb1cefe;hb=9b5745271c3dce941eeae4eb72dfc7716e3bdbf9;hp=cb7725a0fa43f9970243d3c620acd9b10838d9aa;hpb=d3fe8fac40ebd5db0553de95ae356b1995046b0a;p=config diff --git a/buster/setup_scripts/setup_pleroma.sh b/buster/setup_scripts/setup_pleroma.sh index cb7725a..cecba80 100755 --- a/buster/setup_scripts/setup_pleroma.sh +++ b/buster/setup_scripts/setup_pleroma.sh @@ -61,7 +61,11 @@ su pleroma -s $SHELL -lc "./bin/pleroma_ctl migrate" # Since the OTP release does not support .secret.exs configuration # files, we hack our own alternative by simply appending custom # configurations to /etc/config.exs. -cat "${config_tree_prefix}/other_files/append_pleroma_config" >> /etc/config.exs +cat "${config_tree_prefix}/other_files/append_pleroma_config" >> /etc/pleroma/config.exs + +# Single-pixel picture hack for removing Pleroma FE images. +cp "${config_tree_prefix}/other_files/pixel.png" /var/lib/pleroma/static/ +chown pleroma:nogroup /var/lib/pleroma/static/pixel.png # Prepare NGINX config for Pleroma. cp /opt/pleroma/installation/pleroma.nginx /etc/nginx/sites-available/pleroma.nginx