From def8400c1716c044df048cfbe9f03c69bc183c8a Mon Sep 17 00:00:00 2001 From: Vortex Date: Thu, 31 Oct 2019 09:01:44 +0100 Subject: [PATCH] added default "user-patches.sh" to the first container "mail" --- Makefile | 1 + test/config/user-patches/user-patches.sh | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 test/config/user-patches/user-patches.sh diff --git a/Makefile b/Makefile index e1aece17..d01131c3 100644 --- a/Makefile +++ b/Makefile @@ -31,6 +31,7 @@ run: -v "`pwd`/test/config":/tmp/docker-mailserver \ -v "`pwd`/test/test-files":/tmp/docker-mailserver-test:ro \ -v "`pwd`/test/onedir":/var/mail-state \ + -v "`pwd`/test/config/user-patches/user-patches.sh:/tmp/docker-mailserver/user-patches.sh:ro \ -e ENABLE_CLAMAV=1 \ -e SPOOF_PROTECTION=1 \ -e ENABLE_SPAMASSASSIN=1 \ diff --git a/test/config/user-patches/user-patches.sh b/test/config/user-patches/user-patches.sh new file mode 100644 index 00000000..4b8163d2 --- /dev/null +++ b/test/config/user-patches/user-patches.sh @@ -0,0 +1,6 @@ +#!/bin/bash +## +# This user script will be executed between configuration and starting daemons +# To enable it you must save it in your config directory as "user-patches.sh" +## +echo "Default user-patches.sh successfully executed!" \ No newline at end of file