phpfpm: allow old config format as well (#17754)

authored by

Robin Lambertz and committed by
Franz Pletz
dacc3fa9 6eb2ca22

+1 -1
+1 -1
nixos/modules/services/web-servers/phpfpm/default.nix
··· 105 105 }; 106 106 }; 107 107 108 - config = mkIf (cfg.pools != {}) { 108 + config = mkIf (cfg.pools != {} || cfg.poolConfigs != {}) { 109 109 110 110 systemd.services.phpfpm = { 111 111 wantedBy = [ "multi-user.target" ];