mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-29 13:28:19 +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:
parent
398bb20dfd
commit
3a4dc1f885
@ -36,8 +36,8 @@ profile php-fpm /usr/sbin/php-fpm* flags=(attach_disconnected) {
|
||||
/var/log/php*-fpm.log rw,
|
||||
|
||||
# we need to be able to create all sockets
|
||||
/run/php/php*-fpm.pid rw,
|
||||
/run/php/php*-fpm.sock rwlk,
|
||||
@{run}/php{,-fpm}/php*-fpm.pid rw,
|
||||
@{run}/php{,-fpm}/php*-fpm.sock rwlk,
|
||||
|
||||
# to reload
|
||||
/usr/sbin/php-fpm* rix,
|
||||
|
Loading…
x
Reference in New Issue
Block a user