package/dhcp/S80dhcp-server: allow empty INTERFACES
[buildroot-gz.git] / package / php / 0006-fix-php-fpm.service.in.patch
bloba182a2528b0b9bc3a1b1faccb818bf57b4a66b97
1 From bb19125781c0794da9a63fee62e263ff4efff661 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.1.4