home · contact · privacy
Fix.
[config] / buster / setup_scripts / setup_pleroma_source.sh
index 82b3203c1d2a65926dd7f618e72d16db06662804..2385fb402313b29e5d0f9e769bc8eb1c3d06c45f 100755 (executable)
@@ -13,7 +13,7 @@ mail="$2"
 # Install dependencies, configs, set up firewall.
 config_tree_prefix="${HOME}/config/buster"
 ./install_for_target.sh web pleroma pleroma_source
-./copy_dirtree.sh "${config_tree_prefix}/etc_files" "" web
+./copy_dirtree.sh "${config_tree_prefix}/etc_files" "" web pleroma
 nft -f /etc/nftables.conf
 
 # Prepare user.
@@ -36,7 +36,7 @@ mix pleroma.instance gen \
 --output config/generated_config.exs \
 --output-psql /tmp/setup_db.psql \
 --domain ${domain} \
---instance-name plom-roma \
+--instance-name plomroma \
 --admin-email ${mail} \
 --notify-email ${mail} \
 --dbhost localhost \
@@ -65,10 +65,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
 
 # Upload directory. For some reason this does not exist yet here.
 mkdir -p /var/lib/pleroma/uploads