X-Git-Url: https://plomlompom.com/repos/test.html?a=blobdiff_plain;f=buster%2Fsetup_scripts%2Fsetup_pleroma.sh;h=fc30e1d9fe7a563e158356ca5add568bf5f221a7;hb=d49bf77b98e5d02822d3990f92668944f879ad16;hp=7dd7b3f982dda0e66698f8924aaef2e5e638b099;hpb=08fcaeb6b6e33fcf226a738306ae808529eac6e9;p=config
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