hydra-module.nix: Use -p instead of HYDRA_PORT

[?]
Nov 6, 2013, 4:19 PM
KNJ6Y5FZZRPAMHILIPXWB242IHPQMTQCGD5FOMJ4MLKNLB4EJJ2AC

Dependencies

  • [2] 7XOH2DGH hydra-module.nix: Give types to options
  • [3] ZYEFL36Q Ported/merged properties from the TUD configuration's hydra-module
  • [4] X6XVDE2C hydra-module: Set GIT_SSL_CAINFO for git over https
  • [5] BT6SNXUA Add an option to run the hydra server in debug mode
  • [6] KMPLMG7T hydra-module.nix: Cleanup
  • [7] J57PR4O3 hydra-module: Allow to specify the listen host.
  • [8] EE5RRP3X hydra-module.nix: Make services require hydra-init
  • [*] D3MDJONY

Change contents

  • edit in hydra-module.nix at line 17
    [3.121][3.161:204](),[3.161][3.161:204]()
    HYDRA_PORT = "${toString cfg.port}";
  • replacement in hydra-module.nix at line 201
    [3.1186][2.727:923]()
    { ExecStart = "@${cfg.package}/bin/hydra-server hydra-server -f -h '${cfg.listenHost}' --max_spare_servers 5 --max_servers 25 --max_requests 100${optionalString cfg.debugServer " -d"}";
    [3.1186]
    [3.330]
    { ExecStart =
    "@${cfg.package}/bin/hydra-server hydra-server -f -h '${cfg.listenHost}' "
    + "-p ${toString cfg.port} --max_spare_servers 5 --max_servers 25 "
    + "--max_requests 100 ${optionalString cfg.debugServer "-d"}";