Răsfoiți Sursa

777 on roundcube logs

Serghey Rodin 12 ani în urmă
părinte
comite
a6f53e25d5
2 a modificat fișierele cu 4 adăugiri și 0 ștergeri
  1. 2 0
      install/vst-install-debian.sh
  2. 2 0
      install/vst-install-ubuntu.sh

+ 2 - 0
install/vst-install-debian.sh

@@ -624,6 +624,8 @@ mysql -e "CREATE DATABASE roundcube"
 mysql -e "GRANT ALL ON roundcube.* TO roundcube@localhost IDENTIFIED BY '$r'"
 sed -i "s/%password%/$r/g" /etc/roundcube/db.inc.php
 mysql roundcube < /usr/share/dbconfig-common/data/roundcube/install/mysql
+mkdir -p /var/log/roundcube/error
+chmod -R 777 /var/log/roundcube
 
 # Vesta configuration
 echo "export VESTA='/usr/local/vesta'" > /etc/profile.d/vesta.sh

+ 2 - 0
install/vst-install-ubuntu.sh

@@ -637,6 +637,8 @@ if [ "$codename" = 'saucy' ]; then
     ln -s /etc/roundcube/apache.conf /etc/apache2/conf.d/
     service apache2 restart
 fi
+mkdir -p /var/log/roundcube/error
+chmod -R 777 /var/log/roundcube
 
 # Vesta configuration
 echo "export VESTA='/usr/local/vesta'" > /etc/profile.d/vesta.sh