mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 13:01:52 -07:00
Changing password_vesta_host to server hostname during installation
Ported from Debian installer
This commit is contained in:
parent
ad05c575d2
commit
4f54ff4f3f
1 changed files with 1 additions and 0 deletions
|
@ -1159,6 +1159,7 @@ if [ "$exim" = 'yes' ] && [ "$mysql" = 'yes' ]; then
|
||||||
cd /usr/share/roundcubemail/plugins/password
|
cd /usr/share/roundcubemail/plugins/password
|
||||||
wget $vestacp/roundcube/vesta.php -O drivers/vesta.php
|
wget $vestacp/roundcube/vesta.php -O drivers/vesta.php
|
||||||
wget $vestacp/roundcube/config.inc.php -O config.inc.php
|
wget $vestacp/roundcube/config.inc.php -O config.inc.php
|
||||||
|
sed -i "s/localhost/$servername/g" /usr/share/roundcubemail/plugins/password/config.inc.php
|
||||||
chmod a+r /etc/roundcubemail/*
|
chmod a+r /etc/roundcubemail/*
|
||||||
chmod -f 777 /var/log/roundcubemail
|
chmod -f 777 /var/log/roundcubemail
|
||||||
r="$(gen_pass)"
|
r="$(gen_pass)"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue