From 6130473dfbda1a2a5a856566575198ae22786abb Mon Sep 17 00:00:00 2001 From: niten Date: Fri, 6 Jan 2023 16:11:56 -0800 Subject: [PATCH] Oops, wrapped the wrong list... --- objectifier-module.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/objectifier-module.nix b/objectifier-module.nix index 6db85c6..5df95ca 100644 --- a/objectifier-module.nix +++ b/objectifier-module.nix @@ -74,15 +74,15 @@ in { Type = "simple"; PIDFile = "/run/objectifier.pid"; ExecStart = let - bindClause = - map (addr: "--bind ${addr}:${cfg.port}") cfg.listen-addresses; + bindClause = concatStringsSep " " + (map (addr: "--bind ${addr}:${cfg.port}") cfg.listen-addresses); in (concatStringsSep " " [ "gunicorn" bindClause "--workers ${cfg.workers}" "-k uvicorn.workers.UvicornWorker" - "objectifier:app" "--pid /run/objectifier.pid" + "objectifier:app" ]); }; };