hydra-module: Allow to specify the listen host.

[?]
Aug 28, 2013, 10:20 PM
J57PR4O364QONYJC6ANAA3IY33NUXWBZ5ARYT6XJZXWEHMRXB4GQC

Dependencies

  • [2] BT6SNXUA Add an option to run the hydra server in debug mode
  • [3] KMPLMG7T hydra-module.nix: Cleanup
  • [4] ZYEFL36Q Ported/merged properties from the TUD configuration's hydra-module
  • [5] T4DBPQOF hydra-module: Run hydra-init during hydra-init.service
  • [6] ASPNI2AO hydra-module.nix: Automatically create postgres db user for hydra and an admin hydra account
  • [*] D3MDJONY
  • [*] INUGMXTG hydra-module: Add a `port' option.

Change contents

  • edit in hydra-module.nix at line 61
    [9.49]
    [9.49]
    listenHost = mkOption {
    default = "*";
    example = "localhost";
    description = ''
    The hostname or address to listen on or <literal>*</literal> to listen
    on all interfaces.
    '';
    };
  • replacement in hydra-module.nix at line 214
    [3.1186][2.220:397]()
    { ExecStart = "@${cfg.hydra}/bin/hydra-server hydra-server -f -h \* --max_spare_servers 5 --max_servers 25 --max_requests 100${optionalString cfg.debugServer " -d"}";
    [3.1186]
    [3.330]
    { ExecStart = "@${cfg.hydra}/bin/hydra-server hydra-server -f -h '${cfg.listenHost}' --max_spare_servers 5 --max_servers 25 --max_requests 100${optionalString cfg.debugServer " -d"}";