mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Don't modify directly files in regen conf
This commit is contained in:
parent
64066f85b0
commit
3a0104861e
1 changed files with 2 additions and 2 deletions
|
@ -31,8 +31,8 @@ do_pre_regen() {
|
||||||
export relay_port="$(yunohost settings get 'smtp.relay.port')"
|
export relay_port="$(yunohost settings get 'smtp.relay.port')"
|
||||||
export relay_user="$(yunohost settings get 'smtp.relay.user')"
|
export relay_user="$(yunohost settings get 'smtp.relay.user')"
|
||||||
relay_password="$(yunohost settings get 'smtp.relay.password')"
|
relay_password="$(yunohost settings get 'smtp.relay.password')"
|
||||||
echo "[${relay_host}]:${relay_port} ${relay_user}:${relay_password}" > /etc/postfix/sasl_passwd
|
echo "[${relay_host}]:${relay_port} ${relay_user}:${relay_password}" > ${postfix_dir}/sasl_passwd
|
||||||
postmap /etc/postfix/sasl_passwd
|
postmap ${postfix_dir}/sasl_passwd
|
||||||
fi
|
fi
|
||||||
export main_domain
|
export main_domain
|
||||||
export domain_list="$YNH_DOMAINS"
|
export domain_list="$YNH_DOMAINS"
|
||||||
|
|
Loading…
Add table
Reference in a new issue