docker-mailserver/target/scripts
Brennan Kinney 6d06149581
fix: Restore detection of letsencrypt certificate file changes (#2326)
The `DYNAMIC_FILES` var was quote wrapped, treating all filepaths to create checksums for as a single string that would be ignored instead of processed individually.

Removed the quotes, and changed the for loop to an array which accomplishes the same goal.


* fix: Prevent unnecessary change detection event

`acme.json` change would extract new cert files, which would then be hashed after restarting services and considered a change event, running through the logic again and restarting services once more when that was not required.

The checksum entries for those cert files are now replaced with new entries containing updated checksum hashes, after `acme.json` extraction.
2021-12-19 11:25:15 +13:00
..
helpers Rename function and adjust comment (#2306) 2021-11-28 17:02:07 +01:00
startup Disable service stats for Dovecot explicitly (#2292) 2021-12-12 12:08:34 +01:00
check-for-changes.sh fix: Restore detection of letsencrypt certificate file changes (#2326) 2021-12-19 11:25:15 +13:00
fail2ban-wrapper.sh Final Migration Step (#6) 2021-01-16 10:16:05 +01:00
helper-functions.sh fix: Restore detection of letsencrypt certificate file changes (#2326) 2021-12-19 11:25:15 +13:00
postfix-wrapper.sh setup.sh: docker_container first, then fall back to docker_image (#2134) 2021-09-06 10:13:12 +00:00
postsrsd-wrapper.sh HOSTNAME and DOMAINNAME setting improvements (#2175) 2021-09-12 02:20:16 +12:00
quota-warning.sh Final Migration Step (#6) 2021-01-16 10:16:05 +01:00
start-mailserver.sh fix: check-for-changes.sh should not fall out of sync with shared logic (#2260) 2021-11-21 09:33:49 +13:00
update-check.sh Update check (#1951) 2021-05-19 21:18:06 +02:00