mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Put checksum file in /tmp as suggested in code review
This commit is contained in:
parent
b23a7ddc1c
commit
573609e011
|
@ -6,11 +6,10 @@ log_date=$(date +"%Y-%m-%d %H:%M:%S ")
|
||||||
sleep 5
|
sleep 5
|
||||||
echo "${log_date} Start check-for-changes script."
|
echo "${log_date} Start check-for-changes script."
|
||||||
|
|
||||||
# create work area outside mounted directory
|
# create checksum file outside mounted directory
|
||||||
# the checksum file should be reused on subsequent runs,
|
# the checksum file should be reused on subsequent runs,
|
||||||
# but only by this container, not by others using same mount
|
# but only by this container, not by others
|
||||||
mkdir -p /tmp/docker-mailserver-work
|
CHKSUM_FILE=/tmp/docker-mailserver-config-chksum
|
||||||
CHKSUM_FILE=/tmp/docker-mailserver-work/chksum
|
|
||||||
|
|
||||||
# change directory
|
# change directory
|
||||||
cd /tmp/docker-mailserver
|
cd /tmp/docker-mailserver
|
||||||
|
|
Loading…
Reference in a new issue