Skip to content

Commit bb19125

Browse files
committed
Fix php-fpm.service.in
- Expand file paths. - Remove obsolete After=syslog.target. Syslog is socket activated nowadays. Signed-off-by: Floris Bos <[email protected]>
1 parent 98fe940 commit bb19125

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sapi/fpm/php-fpm.service.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[Unit]
22
Description=The PHP FastCGI Process Manager
3-
After=syslog.target network.target
3+
After=network.target
44

55
[Service]
66
Type=@php_fpm_systemd@
7-
PIDFile=@localstatedir@/run/php-fpm.pid
8-
ExecStart=@sbindir@/php-fpm --nodaemonize --fpm-config @sysconfdir@/php-fpm.conf
7+
PIDFile=@EXPANDED_LOCALSTATEDIR@/run/php-fpm.pid
8+
ExecStart=@EXPANDED_SBINDIR@/php-fpm --nodaemonize --fpm-config @EXPANDED_SYSCONFDIR@/php-fpm.conf
99
ExecReload=/bin/kill -USR2 $MAINPID
1010

1111
[Install]

0 commit comments

Comments
 (0)