Convert port toString
This commit is contained in:
parent
6130473dfb
commit
77d23c6401
@ -75,7 +75,8 @@ in {
|
||||
PIDFile = "/run/objectifier.pid";
|
||||
ExecStart = let
|
||||
bindClause = concatStringsSep " "
|
||||
(map (addr: "--bind ${addr}:${cfg.port}") cfg.listen-addresses);
|
||||
(map (addr: "--bind ${addr}:${toString cfg.port}")
|
||||
cfg.listen-addresses);
|
||||
in (concatStringsSep " " [
|
||||
"gunicorn"
|
||||
bindClause
|
||||
|
Loading…
Reference in New Issue
Block a user