Blame view

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