summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFloris Bos <bos@je-eigen-domein.nl>2015-05-01 15:28:55 +0200
committerFloris Bos <bos@je-eigen-domein.nl>2015-05-01 15:28:55 +0200
commitbb19125781c0794da9a63fee62e263ff4efff661 (patch)
tree9bdcc1b95200ca447daecb826e98f9256f0bd534
parent98fe9405e26ae7aa25592557ef92d238ba34ff51 (diff)
downloadphp-git-bb19125781c0794da9a63fee62e263ff4efff661.tar.gz
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>
-rw-r--r--sapi/fpm/php-fpm.service.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/sapi/fpm/php-fpm.service.in b/sapi/fpm/php-fpm.service.in
index a2df30e28d..c135f04c27 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]