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"; {