Rethink those brackets...

This commit is contained in:
niten 2023-03-20 18:42:45 -07:00
parent 35a3820be4
commit 25d3710a9e
1 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ in {
"mqtt.passwd:${cfg.mqtt-client.password-file}" "mqtt.passwd:${cfg.mqtt-client.password-file}"
]; ];
ExecStart = pkgs.writeShellScript "suanni-server.sh" ExecStart = pkgs.writeShellScript "suanni-server.sh"
(concatStringsSep " " [ (concatStringsSep " " ([
"suanni-server" "suanni-server"
"--hostname=${cfg.event-listener.hostname}" "--hostname=${cfg.event-listener.hostname}"
"--port=${toString cfg.event-listener.port}" "--port=${toString cfg.event-listener.port}"
@ -115,7 +115,7 @@ in {
"--mqtt-password-file=$CREDENTIALS_DIRECTORY/mqtt.passwd" "--mqtt-password-file=$CREDENTIALS_DIRECTORY/mqtt.passwd"
"--objectifier-host=${cfg.objectifier-client.host}" "--objectifier-host=${cfg.objectifier-client.host}"
"--objectifier-port=${toString cfg.objectifier-client.port}" "--objectifier-port=${toString cfg.objectifier-client.port}"
]) ++ (optional cfg.verbose "--verbose"); ] ++ (optional cfg.verbose "--verbose")));
}; };
}; };
}; };