Skip to content

Commit

Permalink
Allow for multiple php-fpm services to be run in downstream container…
Browse files Browse the repository at this point in the history
…s. (#84)
  • Loading branch information
nigelgbanks authored Nov 24, 2020
1 parent 46605b0 commit a1afabc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion nginx/rootfs/etc/confd/templates/php-fpm.conf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
; Pid file
; Note: the default prefix is /var
; Default Value: none
pid = run/php-fpm7.pid
;pid = run/php-fpm7.pid

; Error log file
; If it's set to "syslog", log is sent to syslogd instead of being written
Expand Down
2 changes: 1 addition & 1 deletion nginx/rootfs/etc/confd/templates/www.conf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ group = nginx
; (IPv6 and IPv4-mapped) on a specific port;
; '/path/to/unix/socket' - to listen on a unix socket.
; Note: This value is mandatory.
listen = /var/run/php-fpm7/php-fpm7.sock
listen = php-fpm7.sock

; Set listen(2) backlog.
; Default Value: 511 (-1 on FreeBSD and OpenBSD)
Expand Down
2 changes: 1 addition & 1 deletion nginx/rootfs/etc/services.d/fpm/run
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/execlineb -P
# -*- mode: sh -*-
# vi: set ft=sh:
/usr/sbin/php-fpm7
/usr/sbin/php-fpm7 --pid /var/run/php-fpm7/php-fpm7.pid --prefix /var/run/php-fpm7 --fpm-config /etc/php7/php-fpm.conf

0 comments on commit a1afabc

Please sign in to comment.