module(wp): prefix pm for element
This commit is contained in:
parent
d91cc414e0
commit
63ed846f8f
1 changed files with 4 additions and 1 deletions
|
@ -1,4 +1,7 @@
|
|||
{ pkgs, config, phpFpmListen, processSettings, phpPackage }:
|
||||
let
|
||||
lib = pkgs.lib;
|
||||
in
|
||||
{
|
||||
inherit (config.services.nginx) user group;
|
||||
inherit phpPackage;
|
||||
|
@ -8,6 +11,6 @@
|
|||
"listen.mode" = 660;
|
||||
"pm" = "dynamic";
|
||||
"catch_workers_output" = "yes";
|
||||
} // (processSettings.__unfix__ processSettings); # obscure magic.
|
||||
} // lib.mapAttrs' (name: v: lib.nameValuePair "pm.${name}" v) (processSettings.__unfix__ processSettings); # obscure magic.
|
||||
listen = phpFpmListen;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue