2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-30 05:47:59 +00:00

php-fpm profile: adjust /run paths

Thanks to Darix for pointing out that openSUSE now uses /run/php-fpm/

Also switch to using @{run}.
This commit is contained in:
Christian Boltz 2020-08-28 22:23:13 +02:00
parent 398bb20dfd
commit 3a4dc1f885
No known key found for this signature in database
GPG Key ID: C6A682EA63C82F1C

View File

@ -36,8 +36,8 @@ profile php-fpm /usr/sbin/php-fpm* flags=(attach_disconnected) {
/var/log/php*-fpm.log rw, /var/log/php*-fpm.log rw,
# we need to be able to create all sockets # we need to be able to create all sockets
/run/php/php*-fpm.pid rw, @{run}/php{,-fpm}/php*-fpm.pid rw,
/run/php/php*-fpm.sock rwlk, @{run}/php{,-fpm}/php*-fpm.sock rwlk,
# to reload # to reload
/usr/sbin/php-fpm* rix, /usr/sbin/php-fpm* rix,