X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;f=bookworm%2Fsetup_scripts%2Fsetup_status.plomlompom.com.sh;h=30f81d7a01f571b7aba0d28e9418f490ca7e33ca;hb=8e3009abbe64ed44da8e9be0a14427c73237cc16;hp=a637b099f1f2f445818370ddf0c41f05c668db1a;hpb=bd58d96cd52902bded1890b6d339d043c640c485;p=config diff --git a/bookworm/setup_scripts/setup_status.plomlompom.com.sh b/bookworm/setup_scripts/setup_status.plomlompom.com.sh index a637b09..30f81d7 100755 --- a/bookworm/setup_scripts/setup_status.plomlompom.com.sh +++ b/bookworm/setup_scripts/setup_status.plomlompom.com.sh @@ -6,9 +6,17 @@ expect_setup_finished_file setup_web_has_been_run setup_web.sh if [ -z "$1" ]; then domain="status.plomlompom.com" + mail="plom+status@plomlompom.com" +elif [ "$#" -lt 2 ]; then + domain="$1" + mail="plom+testing@plomlompom.com" else domain="$1" + mail="$2" fi +echo "Assuming domain ${domain} and letsencrypt support mail address ${mail}, abort and provide as arguments in this order if other desired! (Otherwise just hit Return.)" +read _ + # Install configs, set up firewall. ./install_for_target.sh status.plomlompom.com ./copy_dirtree.sh "${config_tree_prefix}/etc_files" "" status.plomlompom.com