X-Git-Url: https://plomlompom.com/repos/index.html?a=blobdiff_plain;f=buster%2Fsetup_scripts%2Fsetup_pleroma.sh;h=f4d0d43e1e75b64a81f8ae55ce746f28c572a4c4;hb=575d5056e52ca3702ed6d332a94d491a6cde5da7;hp=59a872f2cffb6a3c5a006f8b3cff0052cd6a592e;hpb=266cbf47da8843f85a3c97ed32cc638b7ad283fc;p=config diff --git a/buster/setup_scripts/setup_pleroma.sh b/buster/setup_scripts/setup_pleroma.sh index 59a872f..f4d0d43 100755 --- a/buster/setup_scripts/setup_pleroma.sh +++ b/buster/setup_scripts/setup_pleroma.sh @@ -63,6 +63,14 @@ su pleroma -s $SHELL -lc "./bin/pleroma_ctl migrate" # configurations to /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 + +# Info panel. +mkdir -p /var/lib/pleroma/static/instance +cp "${config_tree_prefix}/other_files/pleroma_panel.html" /var/lib/pleroma/static/instance/panel.html + # Prepare NGINX config for Pleroma. cp /opt/pleroma/installation/pleroma.nginx /etc/nginx/sites-available/pleroma.nginx sed -i "s/example\.tld/${domain}/g" /etc/nginx/sites-available/pleroma.nginx