mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
Roundcube fail2ban fix
This commit is contained in:
parent
54cae504f0
commit
eca2fdc073
1 changed files with 3 additions and 0 deletions
|
@ -1153,6 +1153,9 @@ if [ "$exim" = 'yes' ] && [ "$mysql" = 'yes' ]; then
|
|||
mysql -e "GRANT ALL ON roundcube.*
|
||||
TO roundcube@localhost IDENTIFIED BY '$r'"
|
||||
sed -i "s/%password%/$r/g" /etc/roundcube/db.inc.php
|
||||
touch /var/log/roundcube/errors
|
||||
chmod 640 /var/log/roundcube/errors
|
||||
chown www-data:adm /var/log/roundcube/errors
|
||||
if [ "$release" = '16.04' ]; then
|
||||
mv /etc/roundcube/db.inc.php /etc/roundcube/debian-db-roundcube.php
|
||||
mv /etc/roundcube/main.inc.php /etc/roundcube/config.inc.php
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue