From 8ee114fd5d931c49d85fb312fb9996bb66ca7449 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Sun, 11 Oct 2020 08:53:18 -0400 Subject: [PATCH] improve root email --- web-conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web-conf b/web-conf index e682259..db509d7 100755 --- a/web-conf +++ b/web-conf @@ -34,8 +34,8 @@ repo distro-setup, and log-quiet. EXTRA_SETTINGS_FILE can be - for stdin -e EMAIL Contact address for let's encrypt. Default is - root@\$(hostname -A|awk '{print $1}') - which is root@$(hostname -A|awk '{print $1}') on this host. + root@\$(hostname --fqdn') + which is root@$(hostname --fqdn) on this host. -f [ADDR:]PORT Enable proxy to [ADDR:]PORT. ADDR default is 127.0.0.1 -i Insecure, no ssl. -p PORT Main port to listen on, default 443. 80 implies -i. @@ -96,7 +96,7 @@ if [[ $proxy ]]; then fi if [[ ! $email ]]; then - email=root@$(hostname -A|awk '{print $1}') + email=root@$(hostname --fqdn) fi -- 2.30.2