Explorar o código

Changing password_vesta_host to server hostname during installation

Ported from Debian installer
dpeca %!s(int64=9) %!d(string=hai) anos
pai
achega
4f54ff4f3f
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      install/vst-install-rhel.sh

+ 1 - 0
install/vst-install-rhel.sh

@@ -1159,6 +1159,7 @@ if [ "$exim" = 'yes' ] && [ "$mysql" = 'yes' ]; then
     cd /usr/share/roundcubemail/plugins/password
     wget $vestacp/roundcube/vesta.php -O drivers/vesta.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 -f 777 /var/log/roundcubemail
     r="$(gen_pass)"