From a2d99f6082e8b4d5e909035e8cf94e03074a7a2c Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 19 Oct 2023 00:20:28 +0200 Subject: [PATCH] checks/jellyfin-stateless: fix synchronization --- packages/checks/jellyfin-stateless.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/checks/jellyfin-stateless.nix b/packages/checks/jellyfin-stateless.nix index d0930f8..a8f56b1 100644 --- a/packages/checks/jellyfin-stateless.nix +++ b/packages/checks/jellyfin-stateless.nix @@ -15,6 +15,7 @@ nixosTest { machine.wait_for_unit("jellyfin.service") machine.wait_for_open_port(8096) machine.wait_until_succeeds("curl --fail http://127.0.0.1:8096") + machine.wait_until_succeeds("test -e /var/lib/jellyfin/config/encoding.xml") def stop_jf(): machine.succeed("systemctl stop jellyfin.service")