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