From c81b85ab0458eb90235971bbd0db9f630973bdd5 Mon Sep 17 00:00:00 2001 From: Jonathan Dahan Date: Sat, 25 May 2024 21:15:53 -0400 Subject: [PATCH] try manual compose down --- hooks/post-receive | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hooks/post-receive b/hooks/post-receive index e061a17..04ac885 100755 --- a/hooks/post-receive +++ b/hooks/post-receive @@ -20,7 +20,8 @@ do } echo "restarting server"; { - podman-compose restart || podman compose up + podman compose down || true + podman compose up --daemon } echo "updating post-receive hook for future runs"; {