Commit ca17a852 authored by Andrej Shadura's avatar Andrej Shadura

Print a warning when the server name has not been set

Closes: #923586
parent f48c434c
......@@ -52,7 +52,11 @@ get_config_key()
do_start()
{
# Fail silently if CONFIGFILE_SERVERNAME doesn't exist
[ -f $CONFIGFILE_SERVERNAME ] || return 0
if [ ! -f $CONFIGFILE_SERVERNAME ]
then
log_warning_msg "$CONFIGFILE_SERVERNAME not found, not starting synapse."
return 0
fi
KEYFILE=$(get_config_key signing_key_path)
# Running --generate-config to create keys if any are absent.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment