phpfpm: allow old config format as well (#17754)
Robin Lambertz 9 years ago dacc3fa9 6eb2ca22
··· 105 105 }; 106 106 }; 107 107 108 108 - config = mkIf (cfg.pools != {}) { 108 108 + config = mkIf (cfg.pools != {} || cfg.poolConfigs != {}) { 109 109 110 110 systemd.services.phpfpm = { 111 111 wantedBy = [ "multi-user.target" ];