mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-03 17:44:49 +02:00
This commit is contained in:
parent
351c9c80a8
commit
cc56b4f89e
4 changed files with 13 additions and 4 deletions
|
@ -389,7 +389,7 @@ function _check_hostname() {
|
|||
|
||||
if ( ! echo $HOSTNAME | grep -E '^(\S+[.]\S+)$' > /dev/null ); then
|
||||
notify 'err' "Setting hostname/domainname is required"
|
||||
kill -6 `cat /var/run/supervisord.pid` && return 1
|
||||
kill `cat /var/run/supervisord.pid` && return 1
|
||||
else
|
||||
notify 'inf' "Domain has been set to $DOMAINNAME"
|
||||
notify 'inf' "Hostname has been set to $HOSTNAME"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue