From c4f0e4920e2d546189486f5adf2976e2cb162e23 Mon Sep 17 00:00:00 2001 From: ediblerope Date: Sat, 25 Apr 2026 19:51:32 +0100 Subject: [PATCH] 7dtd-coop: START_MODE=1 (Start), not 2 (Update+STOP) The vinanrra image's mode numbers are: 0=Install+STOP, 1=Start, 2=Update+STOP, 3=Update+Start, 4=Backup+STOP. I picked 2 thinking it meant "Only Start", which is why the container kept exiting cleanly after each update check. Mode 1 just starts the server, which matches what the main 7dtd container uses. --- services/game-servers.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/services/game-servers.nix b/services/game-servers.nix index b175f25..35408e4 100644 --- a/services/game-servers.nix +++ b/services/game-servers.nix @@ -63,10 +63,11 @@ "127.0.0.1:8091:8080/tcp" ]; environment = { - # Start-only — serverfiles are seeded by rsync from the main - # 7dtd install (SteamCMD anonymous install fails for new installs - # on this image; sharing the existing binaries sidesteps it). - START_MODE = "2"; + # Start-only. Serverfiles are seeded by rsync from the main 7dtd + # install — SteamCMD anonymous install fails on a fresh dir, so + # we share the binaries and skip the update path here. (Mode 2 + # is "Update + STOP", mode 0/2/4 all stop after their action.) + START_MODE = "1"; VERSION = "stable"; TimeZone = "Europe/Stockholm"; TEST_ALERT = "NO";