summaryrefslogtreecommitdiffstats
path: root/nixos/tests/radarr.nix
blob: 49737485826eb6af62106a3c28fc2c240f8ecbc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ lib, ... }:

{
  name = "radarr";
  meta.maintainers = [ ];

  nodes.machine =
    { pkgs, ... }:
    {
      services.radarr.enable = true;
    };

  testScript = ''
    machine.wait_for_unit("radarr.service")
    machine.wait_for_open_port(7878)
    machine.succeed("curl --fail http://localhost:7878/")
  '';
}