diff options
author | makefu <github@syntax-fehler.de> | 2020-07-02 08:28:45 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2020-07-02 08:28:45 +0200 |
commit | 48eacd11b5cf9fd417bb68ee5e442c7cd3ffa6ac (patch) | |
tree | 4562a32701174d117b78d15b17b6ede0d3057a8b /krebs | |
parent | 937db4ad82fab5aceea064b349370c1dd1f06a7f (diff) |
rtorrent module: not use extraConfig
Diffstat (limited to 'krebs')
-rw-r--r-- | krebs/3modules/rtorrent.nix | 13 |
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} - ''; }; }; }; |