X-Git-Url: https://plomlompom.com/repos/?p=config;a=blobdiff_plain;f=buster%2Fsetup_scripts%2Fsetup_pleroma.sh;h=fc30e1d9fe7a563e158356ca5add568bf5f221a7;hp=7dd7b3f982dda0e66698f8924aaef2e5e638b099;hb=e0fdf28d1f0d4320f649acb59d62babddb22888d;hpb=1d8a26a3dddde9d12c017c3a89b59a8dfccb397d diff --git a/buster/setup_scripts/setup_pleroma.sh b/buster/setup_scripts/setup_pleroma.sh index 7dd7b3f..fc30e1d 100755 --- a/buster/setup_scripts/setup_pleroma.sh +++ b/buster/setup_scripts/setup_pleroma.sh @@ -69,9 +69,11 @@ cat "${config_tree_prefix}/other_files/append_pleroma_config" >> /etc/pleroma/co cp "${config_tree_prefix}/other_files/pixel.png" /var/lib/pleroma/static/ chown pleroma:nogroup /var/lib/pleroma/static/pixel.png -# Info panel. +# Info panel and TOS. mkdir -p /var/lib/pleroma/static/instance +mkdir -p /var/lib/pleroma/static/static cp "${config_tree_prefix}/other_files/pleroma_panel.html" /var/lib/pleroma/static/instance/panel.html +cp "${config_tree_prefix}/other_files/pleroma_terms-of-service.html" /var/lib/pleroma/static/static/terms-of-service.html # Prepare NGINX config for Pleroma. cp /opt/pleroma/installation/pleroma.nginx /etc/nginx/sites-available/pleroma.nginx