]> git.somenet.org - root/pub/somesible.git/blob - roles/server/nginx/vhost-unified/files/default/php-fpm.service
[roles/service] ----- meta ----- No dependencies
[root/pub/somesible.git] / roles / server / nginx / vhost-unified / files / default / php-fpm.service
1 #
2 ################################################
3 ### Managed by someone's ansible provisioner ###
4 ################################################
5 # Part of: https://git.somenet.org/root/pub/somesible.git
6 # 2017-2024 by someone <someone@somenet.org>
7 #
8
9 [Unit]
10 Description=The PHP FastCGI Process Manager
11 After=network.target
12 OnFailure=unit-status-mail@%n.service
13
14 [Service]
15 Type=notify
16 ExecStart=/usr/sbin/php-fpm8.2 --nodaemonize --fpm-config /etc/php/8.2/fpm/php-fpm.conf
17 ExecStartPost=-/usr/lib/php/php-fpm-socket-helper install /run/php/php-fpm.sock /etc/php/8.2/fpm/pool.d/www.conf 74
18 ExecStopPost=-/usr/lib/php/php-fpm-socket-helper remove /run/php/php-fpm.sock /etc/php/8.2/fpm/pool.d/www.conf 74
19 ExecReload=/bin/kill -USR2 $MAINPID
20 Restart=always
21 RestartSec=10
22
23 [Install]
24 WantedBy=multi-user.target