diff --git a/config/user-patches.sh b/config/user-patches.sh index 32f56c49..aedb86be 100644 --- a/config/user-patches.sh +++ b/config/user-patches.sh @@ -1,6 +1,2 @@ #!/bin/bash - -## -# This user script will be executed between configuration and starting daemons -## - +echo "Default user-patches.sh successfully executed!" \ No newline at end of file diff --git a/target/start-mailserver.sh b/target/start-mailserver.sh index 16f9c99f..87c87605 100644 --- a/target/start-mailserver.sh +++ b/target/start-mailserver.sh @@ -1601,11 +1601,10 @@ function _misc_user_patches() { if [ -f /tmp/docker-mailserver/user-patches.sh ]; then chmod +x /tmp/docker-mailserver/user-patches.sh - chown -R docker:docker /tmp/docker-mailserver/user-patches.sh /tmp/docker-mailserver/user-patches.sh - notify 'inf' "user-patches.sh executed" + notify 'inf' "Executed 'config/user-patches.sh'" else - notify 'inf' "user-patches.sh not executed because optional '/tmp/docker-mailserver/user-patches.sh' is not provided." + notify 'inf' "No user patches executed because optional '/tmp/docker-mailserver/user-patches.sh' is not provided." fi }