mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-28 16:34:13 +01:00
Improve warning message
This commit is contained in:
parent
6d9be82e1b
commit
12691e738b
@ -573,11 +573,13 @@ request_on_start() ->
|
|||||||
case have_acme_listener() of
|
case have_acme_listener() of
|
||||||
true -> {true, Hosts};
|
true -> {true, Hosts};
|
||||||
false ->
|
false ->
|
||||||
?INFO_MSG("No HTTP listeners for ACME challenges "
|
?WARNING_MSG(
|
||||||
|
"No HTTP listeners for ACME challenges "
|
||||||
"are configured, automatic "
|
"are configured, automatic "
|
||||||
"certificate requests are aborted. Hint: "
|
"certificate requests are aborted. Hint: "
|
||||||
"configure the listener and run "
|
"configure the listener and restart/reload "
|
||||||
"`ejabberdctl request-certificate all`",
|
"ejabberd. Or set acme->auto option to "
|
||||||
|
"`false` to suppress this warning.",
|
||||||
[]),
|
[]),
|
||||||
false
|
false
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user