docker-mailserver/target/scripts/helpers
Brennan Kinney 851ec8cbcd
refactor: Revise check-for-changes.sh (#2615)
- Inline docs for `check-for-changes.sh` have been shuffled around and revised a bit.
- Change processing extracted from the main change detection loop method to their own methods:
   - `_get_changed_files()` - Clarifies what is going on (and how) without having to look it up. To reduce noise in the main logic loop, extracted to a separate method.
   - `_postfix_dovecot_changes()` - The bulk of change processing was moved to this method. I've added conditionals to only run relevant logic.
   - `_ssl_changes()` - Just shifted, no logic changed. `REGEX_NEVER_MATCH` and `ACME_CERT_DIR` vars scope set to `local`.
2022-06-12 11:36:37 +12:00
..
accounts.sh refactor: Share a common helper (vhost builder) for sourcing domains (#2620) 2022-06-10 10:57:10 +12:00
aliases.sh refactor: Revise check-for-changes.sh (#2615) 2022-06-12 11:36:37 +12:00
change-detection.sh chore(check-for-changes.sh): Drop redundant guards (#2623) 2022-06-09 19:48:07 +12:00
dns.sh Remove unnecessary quotes from command substitutions (#2561) 2022-05-05 10:28:38 +02:00
error.sh Fix changedetector restart loop (#2548) 2022-04-19 21:09:25 +02:00
index.sh chore: Merge helpers/sasl.sh into helpers/relay.sh (#2605) 2022-06-06 10:59:42 +12:00
lock.sh Remove unnecessary quotes from command substitutions (#2561) 2022-05-05 10:28:38 +02:00
log.sh Use color variables instead of escape codes (#2565) 2022-05-10 17:50:33 +02:00
network.sh Rename config examples directory (#2438) 2022-03-02 22:54:14 +00:00
postfix.sh refactor: Share a common helper (vhost builder) for sourcing domains (#2620) 2022-06-10 10:57:10 +12:00
relay.sh chore(housekeeping): Normalize how config files filter out unwanted lines (#2619) 2022-06-07 01:07:30 +12:00
ssl.sh chore(housekeeping): Create helpers/change-detection.sh (#2610) 2022-06-05 11:59:54 +12:00
utils.sh chore: Extract out /var/mail ownership workaround (#2628) 2022-06-08 10:09:19 +12:00