php/php-fpm.service

20 lines
527 B
SYSTEMD
Raw Normal View History

# 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]
Type=notify
PIDFile=/run/php-fpm/php-fpm.pid
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