summaryrefslogtreecommitdiffstats
path: root/php-fpm.service
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-07-23 13:31:02 +0200
committerRemi Collet <fedora@famillecollet.com>2015-07-23 13:31:02 +0200
commitd4f9012f851983a4f0caff03f0365951f86acf71 (patch)
tree236fd54ad78a73b63a0b97358e250f9cb92e2d42 /php-fpm.service
php 7.0.0beta2 (as bas package, new)
Diffstat (limited to 'php-fpm.service')
-rw-r--r--php-fpm.service19
1 files changed, 19 insertions, 0 deletions
diff --git a/php-fpm.service b/php-fpm.service
new file mode 100644
index 0000000..41f6bfe
--- /dev/null
+++ b/php-fpm.service
@@ -0,0 +1,19 @@
+# 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".
+
+[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
+ExecStart=/usr/sbin/php-fpm --nodaemonize
+ExecReload=/bin/kill -USR2 $MAINPID
+PrivateTmp=true
+
+[Install]
+WantedBy=multi-user.target
+