fix: `start-mailserver.sh` requires `mail_state.sh` to be sourced on restarts (#4417)

This commit is contained in:
Brennan Kinney 2025-03-17 03:34:51 +13:00 committed by GitHub
parent a156c2c031
commit 7c680a0fbc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -181,6 +181,9 @@ if [[ -f /CONTAINER_START ]]; then
# We cannot skip all setup routines because some need to run _after_
# the initial setup (and hence, they cannot be moved to the check stack).
_setup_directory_and_file_permissions
# shellcheck source=./startup/setup.d/mail_state.sh
source /usr/local/bin/setup.d/mail_state.sh
_setup_adjust_state_permissions
else
_setup