2013-05-23 13:54:18 +00:00
|
|
|
# It's not recommended to modify this file in-place, because it will be
|
|
|
|
# overwritten during package upgrades. If you want to customize, the
|
|
|
|
# best way is to create a file "/etc/systemd/system/php-fpm.service".
|
|
|
|
|
2011-12-12 16:49:50 +00:00
|
|
|
[Unit]
|
|
|
|
Description=The PHP FastCGI Process Manager
|
|
|
|
After=syslog.target network.target
|
|
|
|
|
|
|
|
[Service]
|
2013-05-23 13:54:18 +00:00
|
|
|
Type=notify
|
2012-06-14 16:17:45 +00:00
|
|
|
PIDFile=/run/php-fpm/php-fpm.pid
|
2012-02-04 14:00:44 +00:00
|
|
|
EnvironmentFile=/etc/sysconfig/php-fpm
|
2012-09-28 07:28:19 +00:00
|
|
|
ExecStart=/usr/sbin/php-fpm --nodaemonize
|
2011-12-12 16:49:50 +00:00
|
|
|
ExecReload=/bin/kill -USR2 $MAINPID
|
2012-10-01 06:34:21 +00:00
|
|
|
PrivateTmp=true
|
2011-12-12 16:49:50 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
|
|
|
|