Browse Source

Make sure log files exists in /var/log/hestia/

Jaap Marcus 4 years ago
parent
commit
155de5b012
1 changed files with 1 additions and 0 deletions
  1. 1 0
      install/upgrade/versions/1.5.0.sh

+ 1 - 0
install/upgrade/versions/1.5.0.sh

@@ -50,6 +50,7 @@ if [ -L "/var/log/hestia" ]; then
     cp /usr/local/hestia/log/* /var/log/hestia/
     rm -rf /usr/local/hestia/log
     ln -s /var/log/hestia /usr/local/hestia/log
+    touch /var/log/hestia/auth.log /var/log/hestia/error.log /var/log/hestia/system.log /var/log/hestia/nginx-error.log /var/log/hestia/nginx-access.log
 fi
 
 if [ -d "/var/log/roundcube" ]; then