mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-07-15 11:54:50 +02:00
Better support regular container restarts (#3929)
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com> Co-authored-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
This commit is contained in:
parent
910667d586
commit
066773e79f
4 changed files with 27 additions and 23 deletions
|
@ -14,15 +14,6 @@ function _check() {
|
|||
done
|
||||
}
|
||||
|
||||
function _check_improper_restart() {
|
||||
_log 'debug' 'Checking for improper restart'
|
||||
|
||||
if [[ -f /CONTAINER_START ]]; then
|
||||
_log 'warn' 'This container was (likely) improperly restarted which can result in undefined behavior'
|
||||
_log 'warn' "Please use 'docker compose up --force-recreate' or equivalent (view our troubleshooting docs)"
|
||||
fi
|
||||
}
|
||||
|
||||
function _check_hostname() {
|
||||
_log 'debug' 'Checking that hostname/domainname is provided or overridden'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue