chore: run user patches as part of setup stack
Signed-off-by: georglauterbach <44545919+georglauterbach@users.noreply.github.com>
This commit is contained in:
parent
2d56210c52
commit
22022481e2
|
@ -130,6 +130,8 @@ function _register_functions() {
|
|||
_register_start_daemon '_start_daemon_mta_sts_daemon'
|
||||
fi
|
||||
|
||||
_register_setup_function '_setup_run_user_patches'
|
||||
|
||||
# ? >> Daemons
|
||||
|
||||
_register_start_daemon '_start_daemon_cron'
|
||||
|
@ -185,7 +187,6 @@ if [[ ! -f /CONTAINER_START ]]; then
|
|||
_register_functions
|
||||
_check
|
||||
_setup
|
||||
_run_user_patches
|
||||
else
|
||||
# container was restarted
|
||||
_early_variables_setup
|
||||
|
|
|
@ -103,7 +103,7 @@ function _setup_apply_fixes_after_configuration() {
|
|||
fi
|
||||
}
|
||||
|
||||
function _run_user_patches() {
|
||||
function _setup_run_user_patches() {
|
||||
local USER_PATCHES='/tmp/docker-mailserver/user-patches.sh'
|
||||
|
||||
if [[ -f ${USER_PATCHES} ]]; then
|
||||
|
|
Loading…
Reference in New Issue