home · contact · privacy
Improve info pages / strings for PeerTube and Pleroma.
[config] / buster / setup_scripts / setup_pleroma.sh
index 7dd7b3f982dda0e66698f8924aaef2e5e638b099..fc30e1d9fe7a563e158356ca5add568bf5f221a7 100755 (executable)
@@ -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