X-Git-Url: https://plomlompom.com/repos/index.html?a=blobdiff_plain;ds=sidebyside;f=buster%2Fsetup_scripts%2Fsetup_pleroma_otp.sh;h=b22adcfc00613f1d51f2e14b6b76806e50e344a6;hb=a21865b8ee3bc737357a6267c05e7bc307af57d7;hp=49d28b97ac63f8e02635aa72154d819da237d215;hpb=52499c225e20b14d73c3e1a60e3ff9d6651811bf;p=config
diff --git a/buster/setup_scripts/setup_pleroma_otp.sh b/buster/setup_scripts/setup_pleroma_otp.sh
index 49d28b9..b22adcf 100755
--- a/buster/setup_scripts/setup_pleroma_otp.sh
+++ b/buster/setup_scripts/setup_pleroma_otp.sh
@@ -12,7 +12,7 @@ mail="$2"
# Install dependencies, set up firewall.
config_tree_prefix="${HOME}/config/buster"
./install_for_target.sh web pleroma pleroma_otp
-./copy_dirtree.sh "${config_tree_prefix}/etc_files" "" web
+./copy_dirtree.sh "${config_tree_prefix}/etc_files" "" web pleroma
nft -f /etc/nftables.conf
# Set up letsencrypt certificate. TODO: Is it auto-renewed?
@@ -70,10 +70,11 @@ cp "${config_tree_prefix}/other_files/pixel.png" /var/lib/pleroma/static/
chown pleroma:nogroup /var/lib/pleroma/static/pixel.png
# 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
+#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
+#cp "${config_tree_prefix}/other_files/pleroma_robots.txt" /var/lib/pleroma/static/robots.txt
# Prepare NGINX config for Pleroma.
cp /opt/pleroma/installation/pleroma.nginx /etc/nginx/sites-available/pleroma.nginx