diff options
author | makefu <github@syntax-fehler.de> | 2019-10-15 13:59:11 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2019-10-15 13:59:11 +0200 |
commit | 0c7b43e7606d4431c59b99db4e7d690995ee8e6c (patch) | |
tree | a2a663829b54588b8c7baac6546160011a6e0017 | |
parent | dc60431d5927946fbd76a605744c60f2fecee89f (diff) |
rtorrent module: switch from poolConfigs to pools for phpfpm
-rw-r--r-- | krebs/3modules/rtorrent.nix | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/krebs/3modules/rtorrent.nix b/krebs/3modules/rtorrent.nix index 09e552010..d59569317 100644 --- a/krebs/3modules/rtorrent.nix +++ b/krebs/3modules/rtorrent.nix @@ -333,18 +333,18 @@ let rutorrent-imp = { services.phpfpm = { # phpfpm does not have an enable option - poolConfigs = { - rutorrent = '' - user = ${nginx-user} - group = ${nginx-group} - listen = ${fpm-socket} - listen.owner = ${nginx-user} - listen.group = ${nginx-group} - pm = dynamic - pm.max_children = 5 - pm.start_servers = 2 - pm.min_spare_servers = 1 - pm.max_spare_servers = 3 + pools.rutorrent = { + user = nginx-user; + group = nginx-group; + listen = fpm-socket; + settings = { + "pm" = "dynamic"; + "pm.max_children" = 5; + "pm.start_servers" = 2; + "pm.min_spare_servers" = 1; + "pm.max_spare_servers" = 3; + }; + extraConfig = '' chdir = / php_admin_value[error_log] = 'stderr' php_admin_flag[log_errors] = on |