mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-09-01 16:26:27 +02:00
Lock file create and remove improvements (#2183)
* changed the locking function to better support multiple servers running at once and sharing the same config * helper function testing now runs inside of container Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
This commit is contained in:
parent
f8a621dadb
commit
be35d9bef1
11 changed files with 172 additions and 37 deletions
|
@ -86,7 +86,8 @@ then
|
|||
fi
|
||||
fi
|
||||
|
||||
create_lock "$(basename "$0")"
|
||||
create_lock # Protect config file with lock to avoid race conditions
|
||||
|
||||
for EMAIL in "${@}"
|
||||
do
|
||||
ERROR=false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue