From aebc3f045798e962579f09ffe806a9f956691d76 Mon Sep 17 00:00:00 2001 From: Brennan Kinney <5098581+polarathene@users.noreply.github.com> Date: Sun, 16 Mar 2025 21:55:58 +1300 Subject: [PATCH] fix: `start-mailserver.sh` requires `mail_state.sh` to be sourced on restarts --- 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