2013-05-23 13:54:18 +00:00
|
|
|
# It's not recommended to modify this file in-place, because it will be
|
2015-01-22 06:42:14 +00:00
|
|
|
# overwritten during package upgrades.
|
|
|
|
|
|
|
|
# To alter the FPM environment, drop a file with the suffix
|
|
|
|
# .conf in /etc/systemd/system/php-fpm.service.d, with
|
|
|
|
# [Service]
|
|
|
|
# Environment=FOO=bar
|
2013-05-23 13:54:18 +00:00
|
|
|
|
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-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
|
|
|
|
|