From ff42e9e211c4c06aad0c6e222996e305d260261f Mon Sep 17 00:00:00 2001 From: m1k1o Date: Mon, 3 May 2021 21:13:16 +0200 Subject: [PATCH] change restart policy, fixes #5. --- internal/room/manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/room/manager.go b/internal/room/manager.go index aa3c89e..cd43435 100644 --- a/internal/room/manager.go +++ b/internal/room/manager.go @@ -197,7 +197,7 @@ func (manager *RoomManagerCtx) Create(settings types.RoomSettings) (string, erro }, // Restart policy to be used for the container RestartPolicy: container.RestartPolicy{ - Name: "always", + Name: "unless-stopped", }, // List of kernel capabilities to add to the container CapAdd: strslice.StrSlice{