X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/move_up?a=blobdiff_plain;f=bookworm%2Fsetup_scripts%2Fsetup_status.plomlompom.com.sh;h=e5db2111ea337fab27f1aff10e15b37f6484c781;hb=86c8c5a33772bfc98d0889980f1bf1fb399a95a2;hp=730df3eda815050ce631b1e080dc9dfc8c300ed4;hpb=174acd1989d140882900b51dac88a54283e0333f;p=config diff --git a/bookworm/setup_scripts/setup_status.plomlompom.com.sh b/bookworm/setup_scripts/setup_status.plomlompom.com.sh index 730df3e..e5db211 100755 --- a/bookworm/setup_scripts/setup_status.plomlompom.com.sh +++ b/bookworm/setup_scripts/setup_status.plomlompom.com.sh @@ -4,11 +4,19 @@ 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" + 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