From 7c680a0fbc34c3b7f013b85a5d42d43277962c54 Mon Sep 17 00:00:00 2001 From: Brennan Kinney <5098581+polarathene@users.noreply.github.com> Date: Mon, 17 Mar 2025 03:34:51 +1300 Subject: [PATCH] fix: `start-mailserver.sh` requires `mail_state.sh` to be sourced on restarts (#4417) --- target/scripts/start-mailserver.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/scripts/start-mailserver.sh b/target/scripts/start-mailserver.sh index a7b86f70..a6295ed8 100755 --- a/target/scripts/start-mailserver.sh +++ b/target/scripts/start-mailserver.sh @@ -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