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

Topic: Socket Directory deleted after reboot


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 37 + rpmfusion + remi-test
Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi