Added fixes in rpm install

This commit is contained in:
Alexey Berezhok
2024-05-01 23:32:47 +03:00
parent d221337bbd
commit 3eaf974c8f
4 changed files with 18 additions and 5 deletions

View File

@@ -163,7 +163,7 @@ http {
include fastcgi_params;
fastcgi_param HTTP_EARLY_DATA $rfc_early_data if_not_empty;
fastcgi_param SCRIPT_FILENAME /usr/local/hestia/web/fm/dist/index.php;
fastcgi_pass unix:/run/hestia-php.sock;
fastcgi_pass unix:/run/hestia/php.sock;
fastcgi_index index.php;
}
}

View File

@@ -6,7 +6,7 @@ PartOf=hestia.service
[Service]
Type=forking
PIDFile=/run/hestia/php.pid
ExecStart=/usr/local/hestia/php/sbin/hestia-php --fpm-config /usr/local/hestia/php/etc/php-fpm.conf
ExecStart=/usr/local/hestia/php/sbin/php-fpm --fpm-config /usr/local/hestia/php/etc/php-fpm.conf
ExecReload=/bin/kill -USR2 $MAINPID
ExecStop=/bin/kill -TERM $MAINPID
ExecStartPre=/bin/bash -c "/bin/systemctl set-environment HOSTNAME=$(/usr/bin/hostname)"