docker-mailserver/target/scripts
Georg Lauterbach 35fb744ffb
scripts: refactored check-for-changes.sh (#2498)
* refactored `check-for-changes.sh`

I refactored `check-for-changes.sh` and used the new log. `_notify` can
therefore be deleted as it is used no more.
I opted to source `/etc/dms-settings` as a whole to
future-proof the script. When the DNS adjustments PRs (that do not exist
by now but will exit in the future) are done, we can then remove
`_obtain_hostname_and_domainname` because we're already writing the
variables to `/etc/dms-settings`. I left instructions in the script in
the form of TODO comments.

Because we now log the date for all messages of the changedetector, we
need to `tail` a bit more log than before.
2022-04-02 19:39:15 +02:00
..
helpers scripts: refactored check-for-changes.sh (#2498) 2022-04-02 19:39:15 +02:00
startup fix: typo in setup-stack.sh (#2521) 2022-04-02 10:41:46 +02:00
wrapper refactoring: split helper functions into smaller scripts (#2420) 2022-02-21 11:56:57 +01:00
check-for-changes.sh scripts: refactored check-for-changes.sh (#2498) 2022-04-02 19:39:15 +02:00
start-mailserver.sh scripts: refactored daemon-stack.sh (#2496) 2022-03-27 09:43:39 +02:00
update-check.sh scripts: refactoring & miscellaneous small changes (#2499) 2022-03-26 10:17:08 +01:00