Wrap concatString in brackets.

This commit is contained in:
niten 2023-01-06 15:50:48 -08:00
parent d0a8f6e278
commit 463f5dd9d8

View File

@ -76,14 +76,14 @@ in {
ExecStart = let ExecStart = let
bindClause = bindClause =
map (addr: "--bind ${addr}:${cfg.port}") cfg.listen-addresses; map (addr: "--bind ${addr}:${cfg.port}") cfg.listen-addresses;
in concatStringsSep " " [ in (concatStringsSep " " [
"gunicorn" "gunicorn"
bindClause bindClause
"--workers ${cfg.workers}" "--workers ${cfg.workers}"
"-k uvicorn.workers.UvicornWorker" "-k uvicorn.workers.UvicornWorker"
"objectifier:app" "objectifier:app"
"--pid /run/objectifier.pid" "--pid /run/objectifier.pid"
]; ]);
}; };
}; };
}; };