summaryrefslogtreecommitdiffstats
path: root/content/opt/davmail/entrypoint.sh
diff options
context:
space:
mode:
Diffstat (limited to 'content/opt/davmail/entrypoint.sh')
-rwxr-xr-xcontent/opt/davmail/entrypoint.sh4
1 files changed, 2 insertions, 2 deletions
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