ansible-role-php/templates/systemd/php-fpm@.socket.j2

13 lines
267 B
Django/Jinja

# {{ ansible_managed }}
[Unit]
After=network-online.target
[Socket]
SocketUser={{ php_fpm_socket_user | default('%i') }}
SocketGroup={{ php_fpm_socket_group | default('%i') }}
SocketMode=0660
ListenStream=/run/php/php-fpm-%i.sock
[Install]
WantedBy=sockets.target