Merge pull request #20 from EngineGPDev/Removed-the-creation-of-the-directory-/var/log/enginegp

Removed the creation of the directory: /var/log/enginegp
This commit is contained in:
Sergei Solovev 2024-04-18 23:28:48 +03:00 committed by GitHub
commit 6a1bc93bd3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -471,9 +471,6 @@ EOF
sudo chown -R www-data:www-data /var/www/enginegp >> $logsINST 2>&1
sudo chmod -R 755 /var/www/enginegp >> $logsINST 2>&1
# Создание каталога для логов apache и nginx
sudo mkdir /var/log/enginegp >> $logsINST 2>&1
# Настраиваем apache
if dpkg-query -W -f='${Status}' "libapache2-mod-fcgid" 2>/dev/null | grep -q "install ok installed"; then
echo "===================================" >> $logsINST 2>&1