blob: c2583effb4decc7d762137ebc20d3d6011664e6d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ 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 = [ ];
}
|