1 (edited by Troubadix 2022-08-03 05:24:54)

Topic: Socket Directory deleted after reboot

Hi,

I'm running Amazon Linux 2 using Remi PHP 8.1 & NGINX.

I configured php-fpm to put its socket files in /run/php81-fpm which works fine. But after a reboot the directory is deleted and php-fpm fails to start.

How can I configure the system to not delete this socket directory?

Thank you!

Re: Socket Directory deleted after reboot

Add this directory to your image (so during its build)
Or before you launch the service


P.S. this is not a repo / package issue

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi