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

Desktop: Fedora 35 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 36 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi