From 9f027f7627dd5b3d6983484ccc40033382e1896a Mon Sep 17 00:00:00 2001 From: Kevin Wang Date: Tue, 22 Sep 2026 19:36:01 -0700 Subject: [PATCH] fix(os): require dstack-prepare and the guest agent before the app --- os/common/rootfs/app-compose.service | 2 ++ 1 file changed, 2 insertions(+) diff --git a/os/common/rootfs/app-compose.service b/os/common/rootfs/app-compose.service index b3979e255..53e037a2f 100644 --- a/os/common/rootfs/app-compose.service +++ b/os/common/rootfs/app-compose.service @@ -1,5 +1,7 @@ [Unit] Description=App Compose Service +# After= alone is satisfied by a failed unit; app must not run without these. +Requires=dstack-prepare.service dstack-guest-agent.service Wants=docker.service containerd.service containerd-stargz-grpc.service After=docker.service containerd.service containerd-stargz-grpc.service dstack-prepare.service dstack-guest-agent.service