Merge 891ad79a252ca329d625e7b479c33027ddc0cdf9 into 9c545059ae43396c49b35c1870496ec58406b495

This commit is contained in:
Christoph Hoth 2018-06-29 21:36:58 +00:00 committed by GitHub
commit 9d95446471
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,6 +35,10 @@ exim4_deploy() {
_err "Error: write key file to: $_real_key" _err "Error: write key file to: $_real_key"
return 1 return 1
fi fi
if ! chmod 600 "$_real_key"; then
_err "Error: set mode 600 on: $_real_key"
return 1
fi
_real_fullchain="$_ssl_path/exim4.pem" _real_fullchain="$_ssl_path/exim4.pem"
if ! cat "$_cfullchain" >"$_real_fullchain"; then if ! cat "$_cfullchain" >"$_real_fullchain"; then
_err "Error: write key file to: $_real_fullchain" _err "Error: write key file to: $_real_fullchain"