summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--krebs/3modules/rtorrent.nix13
1 files changed, 6 insertions, 7 deletions
diff --git a/krebs/3modules/rtorrent.nix b/krebs/3modules/rtorrent.nix
index eb27aa34d..e5566f329 100644
--- a/krebs/3modules/rtorrent.nix
+++ b/krebs/3modules/rtorrent.nix
@@ -328,6 +328,8 @@ let
pools.rutorrent = {
user = nginx-user;
group = nginx-group;
+ phpEnv.PATH = makeBinPath rutorrent-deps;
+
settings = {
"listen.owner" = nginx-user;
"pm" = "dynamic";
@@ -335,14 +337,11 @@ let
"pm.start_servers" = 2;
"pm.min_spare_servers" = 1;
"pm.max_spare_servers" = 3;
+ "chdir" = "/";
+ "php_admin_value[error_log]" = "stderr";
+ "php_admin_flag[log_errors]" = "on";
+ "catch_workers_output" = "yes";
};
- extraConfig = ''
- chdir = /
- php_admin_value[error_log] = 'stderr'
- php_admin_flag[log_errors] = on
- catch_workers_output = yes
- env[PATH] = ${makeBinPath rutorrent-deps}
- '';
};
};
};