remove _check_improper_restart function

This commit is contained in:
casperklein 2024-03-09 23:30:46 +01:00
parent 43b6078d0e
commit 7755bcaada
2 changed files with 0 additions and 10 deletions

View File

@ -33,7 +33,6 @@ function _register_functions() {
# ? >> Checks
_register_check_function '_check_improper_restart'
_register_check_function '_check_hostname'
_register_check_function '_check_log_level'
_register_check_function '_check_spam_prefix'

View File

@ -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'