mirror of
https://github.com/YunoHost-Apps/emailpoubelle_ynh.git
synced 2024-09-03 18:26:29 +02:00
Update install
This commit is contained in:
parent
7287c1b033
commit
2c5fa44eb7
1 changed files with 1 additions and 3 deletions
|
@ -83,7 +83,6 @@ db_pwd=$(ynh_string_random)
|
||||||
|
|
||||||
#configuring with given settings
|
#configuring with given settings
|
||||||
sudo cp $final_path/conf-dist.php $final_path/conf.php
|
sudo cp $final_path/conf-dist.php $final_path/conf.php
|
||||||
sudo chown -R www-data:www-data $final_path
|
|
||||||
#Update various conf : domain, database, user and password
|
#Update various conf : domain, database, user and password
|
||||||
ynh_replace_string "exemple.fr" "$domain" $final_path/conf.php
|
ynh_replace_string "exemple.fr" "$domain" $final_path/conf.php
|
||||||
ynh_replace_string "exemple.com" "$domain" $final_path/conf.php
|
ynh_replace_string "exemple.com" "$domain" $final_path/conf.php
|
||||||
|
@ -109,8 +108,7 @@ echo "virtual_alias_maps = hash:$final_path/var/virtual" | sudo tee -a $postfix
|
||||||
#create the virtual aliases file
|
#create the virtual aliases file
|
||||||
sudo touch $final_path/var/virtual
|
sudo touch $final_path/var/virtual
|
||||||
sudo postmap $final_path/var/virtual
|
sudo postmap $final_path/var/virtual
|
||||||
sudo chown www-data $final_path/var/virtual
|
sudo chown -R www-data:www-data $final_path
|
||||||
sudo chown www-data $final_path/var/virtual.db
|
|
||||||
|
|
||||||
#create an alias for deleted junk adresses
|
#create an alias for deleted junk adresses
|
||||||
sudo cp /etc/aliases /etc/aliases.emailpoubelle.bak #backup it
|
sudo cp /etc/aliases /etc/aliases.emailpoubelle.bak #backup it
|
||||||
|
|
Loading…
Add table
Reference in a new issue