Email is not needed anymore

This commit is contained in:
pierreozoux 2015-09-21 18:18:14 +01:00
parent e651516a6f
commit bbdb9b7cf1

View file

@ -27,7 +27,6 @@ LOG_LEVEL="${LOG_LEVEL:-6}" # 7 = debug -> 0 = emergency
# Commandline options. This defines the usage page, and is used to parse cli # Commandline options. This defines the usage page, and is used to parse cli
# opts & defaults from. The parsing is unforgiving so be precise in your syntax # opts & defaults from. The parsing is unforgiving so be precise in your syntax
read -r -d '' usage <<-'EOF' read -r -d '' usage <<-'EOF'
-e [arg] Email of the user of the application.
-u [arg] URL to process. Required. -u [arg] URL to process. Required.
-f [arg] Certificate file to use. -f [arg] Certificate file to use.
-g Generates the necessary certificate. -g Generates the necessary certificate.
@ -46,12 +45,9 @@ source /data/indiehosters/utils/helpers.sh
source /data/indiehosters/utils/configure_dkim_dns.sh source /data/indiehosters/utils/configure_dkim_dns.sh
function scaffold () { function scaffold () {
[ -z "${arg_e}" ] && help "Email is required."
info "Creating application folder" info "Creating application folder"
mkdir -p ${APP_FOLDER} mkdir -p ${APP_FOLDER}
info "Creating .env"
echo "EMAIL=${arg_e}" > ${FOLDER}/.env
} }
function buy_domain_name () { function buy_domain_name () {