mirror of
https://github.com/bokysan/docker-postfix.git
synced 2025-09-06 14:37:45 +08:00
Update: make sure that output of copying files for chroot is properly alinged
This commit is contained in:
parent
e325d45d51
commit
b505a8e8ba
1 changed files with 3 additions and 2 deletions
|
@ -111,7 +111,8 @@ postfix_enable_chroot() {
|
|||
fi
|
||||
|
||||
# Adapted from example Linux chroot in Postfix sources examples/chroot-setup/LINUX2
|
||||
echo "Fix Postfix chroot"
|
||||
info "Preparing files for Postfix chroot:"
|
||||
|
||||
if [[ -z "${POSTFIXD_DIR}" ]]; then
|
||||
POSTFIXD_DIR=/var/spool/postfix
|
||||
fi
|
||||
|
@ -133,7 +134,7 @@ postfix_enable_chroot() {
|
|||
[[ -e /etc/host.conf ]] && cp -fpv /etc/host.conf $POSTFIXD_ETC || true
|
||||
[[ -e /etc/hosts ]] && cp -fpv /etc/hosts $POSTFIXD_ETC || true
|
||||
[[ -e /etc/passwd ]] && cp -fpv /etc/passwd $POSTFIXD_ETC || true
|
||||
)
|
||||
) | sed 's/^/ /g'
|
||||
}
|
||||
|
||||
postfix_upgrade_conf() {
|
||||
|
|
Loading…
Add table
Reference in a new issue