[fix] chown postfix to avoid warning

This commit is contained in:
ljf 2020-04-29 03:38:10 +02:00
parent d51b126df8
commit a5ecf52c30

View file

@ -67,8 +67,8 @@ do_pre_regen() {
do_post_regen() {
regen_conf_files=$1
chmod o=--- /etc/postfix/sasl_passwd
chmod o=--- /etc/postfix/sasl_passwd.db
chmod o=--- /etc/postfix/sasl_passwd*
chown postfix /etc/postfix/sasl_passwd*
[[ -z "$regen_conf_files" ]] \
|| { service postfix restart && service postsrsd restart; }