diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-09-25 05:27:06 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-09-25 05:27:06 +0200 |
commit | 39bff56f9b32ea626b74b3462352786cae59c72a (patch) | |
tree | f256c22980752f58dfd22fdb9fb427311ba35cfb /content/opt | |
parent | ee206034bb10031e053ece4af8038e4630a778f3 (diff) | |
download | davmail-39bff56f9b32ea626b74b3462352786cae59c72a.tar.gz davmail-39bff56f9b32ea626b74b3462352786cae59c72a.tar.bz2 davmail-39bff56f9b32ea626b74b3462352786cae59c72a.tar.xz davmail-39bff56f9b32ea626b74b3462352786cae59c72a.zip |
Update and small modification for OpenShift
Diffstat (limited to 'content/opt')
-rwxr-xr-x | content/opt/davmail/entrypoint.sh | 4 |
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 |