home · contact · privacy
Fix.
[config] / buster / setup_scripts / setup_pleroma.sh
index ef736e856ca2960e0cbd2942a9a56696cebdacd3..1493dd470ed0ca1582047db600a55f4c4130f15b 100755 (executable)
@@ -12,7 +12,7 @@ mail="$2"
 # Install dependencies, set up firewall.
 config_tree_prefix="${HOME}/config/buster"
 ./install_for_target.sh pleroma
-./copy_dirtree.sh "${config_tree_prefix}/etc_files" "" all "$@"
+./copy_dirtree.sh "${config_tree_prefix}/etc_files" "" pleroma
 nft -f /etc/nftables.conf
 
 # Set up letsencrypt certificate. TODO: Is it auto-renewed?
@@ -39,7 +39,7 @@ chown -R pleroma /etc/pleroma
 
 # Configure and set up DB.
 su pleroma -s $SHELL -lc './bin/pleroma_ctl instance gen '\
-   '--output /etc/pleroma/config.exs '\
+   '--output /etc/pleroma/config.exs\
    '--output-psql /tmp/setup_db.psql' \
    "--domain ${domain}" \
    '--instance-name plom-roma' \