|
|
98603bc |
# It's not recommended to modify this file in-place, because it will be
|
|
|
98603bc |
# overwritten during package upgrades. If you want to customize, the
|
|
|
98603bc |
# best way is to create a file "/etc/systemd/system/php-fpm.service".
|
|
|
98603bc |
|
|
|
dc06a7e |
[Unit]
|
|
|
dc06a7e |
Description=The PHP FastCGI Process Manager
|
|
|
dc06a7e |
After=syslog.target network.target
|
|
|
dc06a7e |
|
|
|
dc06a7e |
[Service]
|
|
|
98603bc |
Type=notify
|
|
|
922e10e |
PIDFile=/run/php-fpm/php-fpm.pid
|
|
|
5cabf70 |
EnvironmentFile=/etc/sysconfig/php-fpm
|
|
Remi Collet |
d412b26 |
ExecStart=/usr/sbin/php-fpm --nodaemonize
|
|
|
dc06a7e |
ExecReload=/bin/kill -USR2 $MAINPID
|
|
|
9cc6707 |
PrivateTmp=true
|
|
|
dc06a7e |
|
|
|
dc06a7e |
[Install]
|
|
|
dc06a7e |
WantedBy=multi-user.target
|
|
|
dc06a7e |
|