X-Git-Url: https://plomlompom.com/repos/feed.xml?a=blobdiff_plain;ds=sidebyside;f=bookworm%2Fsetup_scripts%2Fsetup_status.plomlompom.com.sh;h=a637b099f1f2f445818370ddf0c41f05c668db1a;hb=bd58d96cd52902bded1890b6d339d043c640c485;hp=d5e6d180b0a30ec0b681e5a3cf257adea1807dc1;hpb=af7fbe96d9af13e1a5d2485351f5ca4ce2cf3ccd;p=config diff --git a/bookworm/setup_scripts/setup_status.plomlompom.com.sh b/bookworm/setup_scripts/setup_status.plomlompom.com.sh old mode 100644 new mode 100755 index d5e6d18..a637b09 --- a/bookworm/setup_scripts/setup_status.plomlompom.com.sh +++ b/bookworm/setup_scripts/setup_status.plomlompom.com.sh @@ -4,14 +4,14 @@ set -e expect_setup_finished_file setup_web_has_been_run setup_web.sh -if [ -z "$1"]; then +if [ -z "$1" ]; then domain="status.plomlompom.com" else domain="$1" fi # Install configs, set up firewall. -./install_for_target.sh static_websites -./copy_dirtree.sh "${config_tree_prefix}/etc_files" "" static_websites +./install_for_target.sh status.plomlompom.com +./copy_dirtree.sh "${config_tree_prefix}/etc_files" "" status.plomlompom.com nft -f /etc/nftables.conf # Set up letsencrypt certificate. TODO: Is it auto-renewed?