Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php7
:
7.0.21
>
php-7.0.21
> php7-systemd-unit.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File php7-systemd-unit.patch of Package php-7.0.21
Index: php-7.0.7/sapi/fpm/php-fpm.service.in =================================================================== --- php-7.0.7.orig/sapi/fpm/php-fpm.service.in 2016-05-25 15:13:19.000000000 +0200 +++ php-7.0.7/sapi/fpm/php-fpm.service.in 2016-06-20 13:37:00.256207074 +0200 @@ -1,12 +1,15 @@ [Unit] Description=The PHP FastCGI Process Manager -After=syslog.target network.target +After=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