php-fpm socket fixed
This commit is contained in:
parent
024f2767cd
commit
46810b3b75
8
php.cf
8
php.cf
|
@ -192,7 +192,7 @@ vars:
|
|||
"fpm_pkgs" slist => { "php$(version)-fpm" };
|
||||
"fpm_service_name" string => "php$(version)-fpm";
|
||||
"fpm_socket" string => "/run/php/php$(version)-fpm.sock";
|
||||
"fpm_socket_type" string => "unix";
|
||||
"fpm_socket_type" string => "unix:";
|
||||
|
||||
"apt_repo_url" string => "https://packages.sury.org/php/";
|
||||
"apt_repo_key" string => "https://packages.sury.org/php/apt.gpg";
|
||||
|
@ -223,7 +223,7 @@ vars:
|
|||
"fpm_pkgs" slist => {};
|
||||
"fpm_service_name" string => "php-fpm";
|
||||
"fpm_socket" string => "127.0.0.1:9000";
|
||||
"fpm_socket_type" string => "inet";
|
||||
"fpm_socket_type" string => "fcgi://";
|
||||
|
||||
centos::
|
||||
"cli_exe" string => "/usr/bin/php";
|
||||
|
@ -231,6 +231,7 @@ vars:
|
|||
"fpm_pkgs" slist => { "php-fpm" };
|
||||
"fpm_service_name" string => "php$(version)-fpm";
|
||||
"fpm_socket" string => "/run/php-fpm/www.sock";
|
||||
"fpm_socket_type" string => "unix:";
|
||||
|
||||
|
||||
files:
|
||||
|
@ -260,11 +261,14 @@ vars:
|
|||
"service_deps" slist => {
|
||||
"php_pkgs_installed"
|
||||
};
|
||||
"service_name" string => "$(php.fpm_service_name)";
|
||||
"service_cfg_name" string => "php_fpm";
|
||||
|
||||
methods:
|
||||
"any" usebundle => install_php;
|
||||
"any" usebundle => wmde_install_packages(@(php.fpm_pkgs),"php_fpm");
|
||||
|
||||
"any" usebundle => wmde_enable_service("$(this.bundle)");
|
||||
|
||||
"any" usebundle => wmde_service("$(php.fpm_service_name)","php_kept|php_fpm_kept","php_repaired|php_fpm_repaired"),
|
||||
depends_on => @(service_deps);
|
||||
|
|
Loading…
Reference in New Issue