File php7-systemd-unit.patch of Package php7

--- sapi/fpm/php-fpm.service.in.orig
+++ sapi/fpm/php-fpm.service.in
@@ -1,12 +1,15 @@
 [Unit]
 Description=The PHP FastCGI Process Manager
 After=syslog.target network.target
+Before=apache2.service nginx.service lighttpd.service
 
 [Service]
 Type=@php_fpm_systemd@
-PIDFile=@localstatedir@/run/php-fpm.pid
-ExecStart=@sbindir@/php-fpm --nodaemonize --fpm-config @sysconfdir@/php-fpm.conf
+ExecStart=/usr/sbin/php-fpm --nodaemonize --fpm-config @sysconfdir@/php-fpm.conf
 ExecReload=/bin/kill -USR2 $MAINPID
+ExecStop=/bin/kill -QUIT $MAINPID
+PrivateTmp=true
+KillMode=mixed
 
 [Install]
 WantedBy=multi-user.target
openSUSE Build Service is sponsored by