Feature Request
Context
check-for-changes.sh script is constantly (every second) hashing and writing unnecessary to host filesystem.
Is your Feature Request related to a Problem?
Reduce unnecessary disk IO.
Describe the Solution you'd like
Wait and hash only if change was detected.
Are you going to implement it?
I have just a quick hack but it depends on package inotify-tools.
I have added in check-for-changes.sh before line 46:
inotifywait -r \
/tmp/docker-mailserver \
/etc/letsencrypt/acme.json \
"/etc/letsencrypt/live"
But this snippet is not heavily. Have just add it to my container.
Feature Request
Context
check-for-changes.shscript is constantly (every second) hashing and writing unnecessary to host filesystem.Is your Feature Request related to a Problem?
Reduce unnecessary disk IO.
Describe the Solution you'd like
Wait and hash only if change was detected.
Are you going to implement it?
I have just a quick hack but it depends on package
inotify-tools.I have added in
check-for-changes.shbefore line 46:But this snippet is not heavily. Have just add it to my container.