Skip to content

Commit 155de5b

Browse files
committed
Make sure log files exists in /var/log/hestia/
1 parent 5c3de31 commit 155de5b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

install/upgrade/versions/1.5.0.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ if [ -L "/var/log/hestia" ]; then
5050
cp /usr/local/hestia/log/* /var/log/hestia/
5151
rm -rf /usr/local/hestia/log
5252
ln -s /var/log/hestia /usr/local/hestia/log
53+
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
5354
fi
5455

5556
if [ -d "/var/log/roundcube" ]; then

0 commit comments

Comments
 (0)