php/php-fpm.service

23 lines
545 B
SYSTEMD
Raw Normal View History

# It's not recommended to modify this file in-place, because it will be
# 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
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
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