Skip to content

Commit c667274

Browse files
committed
set 660 mode on system logs
1 parent 5a6bef5 commit c667274

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

install/vst-install.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -672,6 +672,10 @@ chmod 750 $VESTA/data/users
672672
chmod 750 $VESTA/data/ips
673673
chmod -R 750 $VESTA/data/queue
674674
ln -s /usr/local/vesta/log /var/log/vesta
675+
touch /var/log/vesta/system.log
676+
touch /var/log/vesta/nginx-error.log
677+
touch /var/log/vesta/auth.log
678+
chmod 660 /var/log/vesta/*
675679
adduser backup
676680
ln -s /home/backup /backup
677681
chmod a+x /backup

0 commit comments

Comments
 (0)