2021-10-10 17:54:22 +02:00
|
|
|
import ./make-test-python.nix ({ lib, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
name = "prowlarr";
|
2023-04-30 16:26:19 +02:00
|
|
|
meta.maintainers = with lib.maintainers; [ jdreaver ];
|
2021-10-10 17:54:22 +02:00
|
|
|
|
|
|
|
nodes.machine =
|
|
|
|
{ pkgs, ... }:
|
|
|
|
{ services.prowlarr.enable = true; };
|
|
|
|
|
|
|
|
testScript = ''
|
|
|
|
machine.wait_for_unit("prowlarr.service")
|
2022-06-11 14:22:53 +02:00
|
|
|
machine.wait_for_open_port(9696)
|
2021-10-10 17:54:22 +02:00
|
|
|
machine.succeed("curl --fail http://localhost:9696/")
|
|
|
|
'';
|
|
|
|
})
|