docker-mailserver/target/scripts
Georg Lauterbach a54d774587
scripts: refactored daemon-stack.sh (#2496)
* refactored `daemon-stack.sh`

A new method was introduced to uniformaly start daemons and log output
accordingly. The methods for daemon start were renamed (plural ->
singular), therefore the adjustments in `start-mailserver.sh`.

* cleaned Fetchmail setup from `daemon-stack.sh`

Not sure why, but the Fetchmail setup was somehow happening in
`daemon-stack.sh` - this is not supposed to be the case. I relocated the
setup into `setup-stack.sh`, where it belong.

* delete old, unnecessary script in `target/bin/`

These are unused leftovers from the last commit, that relocated the
setup of Fetchmail into `setup.stack.sh`.

* corrected changedetector function name

* Apply suggestions from code review

* adjusted `debug-fetchmail` script

It is absolutely fine to source `setup-stack.sh` because sourcing the
script does not execute a single function (by desing of the script).
This way, we retain functionality.

* praise be ShellCheck

* added `log.sh` to `debug-fetchmail` as a dependency

* final cleanup

Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
Co-authored-by: Casper <casperklein@users.noreply.github.com>
2022-03-27 09:43:39 +02:00
..
helpers scripts: refactoring & miscellaneous small changes (#2499) 2022-03-26 10:17:08 +01:00
startup scripts: refactored daemon-stack.sh (#2496) 2022-03-27 09:43:39 +02:00
wrapper refactoring: split helper functions into smaller scripts (#2420) 2022-02-21 11:56:57 +01:00
check-for-changes.sh refactoring: split helper functions into smaller scripts (#2420) 2022-02-21 11:56:57 +01: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