diff options
author | MinerSebas <scherthan_sebastian@web.de> | 2024-03-16 08:30:18 +0100 |
---|---|---|
committer | MinerSebas <scherthan_sebastian@web.de> | 2024-03-16 17:07:55 +0100 |
commit | 9e1fe5cddd5c786c0fcceff37a90d9837dc68bcb (patch) | |
tree | 16a27b4f6d7fe87a8af6b0de48c3051a1d7a9cc0 /nixos/tests/restic-rest-server.nix | |
parent | 7762c2233c801f22cb0e377dcef2a2b510609f9b (diff) |
nixos/restic-rest-server: Make the service socket activated
Diffstat (limited to 'nixos/tests/restic-rest-server.nix')
-rw-r--r-- | nixos/tests/restic-rest-server.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/tests/restic-rest-server.nix b/nixos/tests/restic-rest-server.nix index b6540b551325e..1d38ddbe513c9 100644 --- a/nixos/tests/restic-rest-server.nix +++ b/nixos/tests/restic-rest-server.nix @@ -44,7 +44,7 @@ import ./make-test-python.nix ( services.restic.server = { enable = true; extraFlags = [ "--no-auth" ]; - listenAddress = ":8001"; + listenAddress = "8001"; }; networking.firewall.allowedTCPPorts = [ 8001 ]; }; @@ -68,7 +68,7 @@ import ./make-test-python.nix ( testScript = '' restic_rest_server.start() server.start() - restic_rest_server.wait_for_unit("restic-rest-server.service") + restic_rest_server.wait_for_unit("restic-rest-server.socket") restic_rest_server.wait_for_open_port(8001) server.wait_for_unit("dbus.socket") server.fail( |