doc: fix wrong env var name (#1908)
This commit is contained in:
parent
9db046581b
commit
c2e4749d17
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ postfix_cert_dir="/etc/postfix/certificates"
|
||||||
# our Postfix server only handles mail for @example.com domain
|
# our Postfix server only handles mail for @example.com domain
|
||||||
if [ "$LEGO_CERT_DOMAIN" = "example.com" ]; then
|
if [ "$LEGO_CERT_DOMAIN" = "example.com" ]; then
|
||||||
install -u postfix -g postfix -m 0644 "$LEGO_CERT_PATH" "$postfix_cert_dir"
|
install -u postfix -g postfix -m 0644 "$LEGO_CERT_PATH" "$postfix_cert_dir"
|
||||||
install -u postfix -g postfix -m 0640 "$LEGO_KEY_PATH" "$postfix_cert_dir"
|
install -u postfix -g postfix -m 0640 "$LEGO_CERT_KEY_PATH" "$postfix_cert_dir"
|
||||||
|
|
||||||
systemctl reload postfix@-service
|
systemctl reload postfix@-service
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue