mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Sync after update to make sure changes propagate to host
This commit is contained in:
parent
e47c73f789
commit
b58fd30c0a
|
@ -32,3 +32,4 @@ if [ -z "$PASSWD" ]; then
|
|||
fi
|
||||
HASH="$(doveadm pw -s SHA512-CRYPT -u "$USER" -p "$PASSWD")"
|
||||
echo "$USER|$HASH" >> $DATABASE
|
||||
sync $DATABASE
|
||||
|
|
|
@ -31,3 +31,4 @@ grep -qi "^$(escape "$USER")|" $DATABASE 2>/dev/null ||
|
|||
errex "User \"$USER\" does not exist"
|
||||
|
||||
sed -i "s ^"$USER"|.* "$USER"|"$HASH" " $DATABASE
|
||||
sync $DATABASE
|
||||
|
|
Loading…
Reference in a new issue