1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-25 18:46:32 +03:00
nixpkgs/nixos/tests/orthanc.nix
2025-03-15 22:45:44 +01:00

27 lines
455 B
Nix

{ lib, ... }:
{
name = "orthanc";
nodes = {
machine =
{ pkgs, ... }:
{
services.orthanc = {
enable = true;
settings = {
HttpPort = 12345;
};
};
};
};
testScript = ''
machine.start()
machine.wait_for_unit("orthanc.service")
machine.wait_for_open_port(12345)
machine.wait_for_open_port(4242)
'';
meta.maintainers = [ lib.maintainers.drupol ];
}