mirror of https://github.com/zulip/zulip.git
setup-certbot: Require hostname and email.
The script already won't work without them; so if the user gets the invocation wrong, give a halfway-reasonable error rather than just crash into the ground.
This commit is contained in:
parent
df8548aaf1
commit
a56fca81f1
|
@ -52,6 +52,10 @@ if [ -n "$show_help" ]; then
|
|||
usage
|
||||
fi
|
||||
|
||||
if [ -z "$DOMAIN" -o -z "$EMAIL" ]; then
|
||||
usage
|
||||
fi
|
||||
|
||||
case "$method" in
|
||||
standalone)
|
||||
method_args=(--standalone)
|
||||
|
|
Loading…
Reference in New Issue