toolchain: bump Codescape IMG MIPS version to 2016.05-06
[buildroot-gz.git] / package / php / 0006-Fix-php-fpm.service.in.patch
blob68cb50a37355f6dd93c694b29cc399c0602073f3
1 From 1a8714d0b56e06301b3c261eaef93d897ec5d834 Mon Sep 17 00:00:00 2001
2 From: Floris Bos <bos@je-eigen-domein.nl>
3 Date: Fri, 1 May 2015 15:28:55 +0200
4 Subject: [PATCH] Fix php-fpm.service.in
6 - Expand file paths.
7 - Remove obsolete After=syslog.target. Syslog is socket activated nowadays.
9 Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
10 ---
11 sapi/fpm/php-fpm.service.in | 6 +++---
12 1 file changed, 3 insertions(+), 3 deletions(-)
14 diff --git a/sapi/fpm/php-fpm.service.in b/sapi/fpm/php-fpm.service.in
15 index a2df30e..c135f04 100644
16 --- a/sapi/fpm/php-fpm.service.in
17 +++ b/sapi/fpm/php-fpm.service.in
18 @@ -1,11 +1,11 @@
19 [Unit]
20 Description=The PHP FastCGI Process Manager
21 -After=syslog.target network.target
22 +After=network.target
24 [Service]
25 Type=@php_fpm_systemd@
26 -PIDFile=@localstatedir@/run/php-fpm.pid
27 -ExecStart=@sbindir@/php-fpm --nodaemonize --fpm-config @sysconfdir@/php-fpm.conf
28 +PIDFile=@EXPANDED_LOCALSTATEDIR@/run/php-fpm.pid
29 +ExecStart=@EXPANDED_SBINDIR@/php-fpm --nodaemonize --fpm-config @EXPANDED_SYSCONFDIR@/php-fpm.conf
30 ExecReload=/bin/kill -USR2 $MAINPID
32 [Install]
33 --
34 2.7.4