mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] chown postfix to avoid warning
This commit is contained in:
parent
d51b126df8
commit
a5ecf52c30
1 changed files with 2 additions and 2 deletions
|
@ -67,8 +67,8 @@ do_pre_regen() {
|
||||||
|
|
||||||
do_post_regen() {
|
do_post_regen() {
|
||||||
regen_conf_files=$1
|
regen_conf_files=$1
|
||||||
chmod o=--- /etc/postfix/sasl_passwd
|
chmod o=--- /etc/postfix/sasl_passwd*
|
||||||
chmod o=--- /etc/postfix/sasl_passwd.db
|
chown postfix /etc/postfix/sasl_passwd*
|
||||||
|
|
||||||
[[ -z "$regen_conf_files" ]] \
|
[[ -z "$regen_conf_files" ]] \
|
||||||
|| { service postfix restart && service postsrsd restart; }
|
|| { service postfix restart && service postsrsd restart; }
|
||||||
|
|
Loading…
Add table
Reference in a new issue