summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/etc/davmail/davmail.properties.template2
-rwxr-xr-xcontent/opt/davmail/entrypoint.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/content/etc/davmail/davmail.properties.template b/content/etc/davmail/davmail.properties.template
index 4c36fd6..1b8ad39 100644
--- a/content/etc/davmail/davmail.properties.template
+++ b/content/etc/davmail/davmail.properties.template
@@ -103,7 +103,7 @@ davmail.smtpSaveInSent=true
# log file path, leave empty for default path
#davmail.logFilePath=/var/log/davmail.log
-davmail.logFilePath=/dev/null
+davmail.logFilePath=/dev/stdout
# maximum log file size, use Log4J syntax, set to 0 to use an external rotation mechanism, e.g. logrotate
#davmail.logFileSize=1MB
davmail.logFileSize=0
diff --git a/content/opt/davmail/entrypoint.sh b/content/opt/davmail/entrypoint.sh
index 150cb49..518bb1d 100755
--- a/content/opt/davmail/entrypoint.sh
+++ b/content/opt/davmail/entrypoint.sh
@@ -4,10 +4,10 @@
CONFIG=${1:-/etc/davmail/davmail.properties}
if [ -n "$DAVMAIL_CONFIG_URL" ]; then
- CONFIG=$HOME/davmail.properties
+ CONFIG=/tmp/davmail.properties
wget -qO $CONFIG "$DAVMAIL_CONFIG_URL"
elif [ -n "$DAVMAIL_URL" ]; then
- CONFIG=$HOME/davmail.properties
+ CONFIG=/tmp/davmail.properties
while read line; do
eval echo "$line"
done < /etc/davmail/davmail.properties.template > $CONFIG