Skip to content

Commit

Permalink
sec: adapt php-fpm default socket
Browse files Browse the repository at this point in the history
per default, php-fpm based apparmor rules use specific paths throughout
distros, the default socket location to be found matches

@{run}/php{,-fpm}/php*-fpm.sock
  • Loading branch information
grammmike committed Mar 15, 2023
1 parent d0f860f commit 2d0c859
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/grommunio-sync-upstream.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
upstream fpm_sync {
server unix:/run/php-fpm/grommunio-sync;
server unix:/run/php-fpm/php-grommunio-sync-fpm.sock;
}
2 changes: 1 addition & 1 deletion build/pool-grommunio-sync.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[grommunio-sync-pool]
; socket information
listen = /run/php-fpm/grommunio-sync
listen = /run/php-fpm/php-grommunio-sync-fpm.sock
listen.mode = 0666
listen.owner = grosync
listen.group = grosync
Expand Down

0 comments on commit 2d0c859

Please sign in to comment.