From 16d2a362b6f5bf2b37295a5e05e1329d4084f58d Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Thu, 7 Jul 2022 12:14:07 +0200 Subject: [PATCH] remove asgi socket before start --- app/asgi.sh | 3 +++ bin | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/asgi.sh b/app/asgi.sh index d6521798..85985143 100755 --- a/app/asgi.sh +++ b/app/asgi.sh @@ -17,6 +17,9 @@ else # watchmedo shell-command --patterns="$patterns" --recursive \ # --command='python '$manage' collectstatic --noinput' $app & #daphne -b 0.0.0.0 -p 8000 asgi:application + + rm $sock + uvicorn asgi:application --uds $sock --log-level $loglevel --workers $workers --ws websockets fi diff --git a/bin b/bin index 52d01bc8..7a7c9ab6 160000 --- a/bin +++ b/bin @@ -1 +1 @@ -Subproject commit 52d01bc8d0ec34d96ae3751fa5709a8ae05066fd +Subproject commit 7a7c9ab66099c6e93acacf48d589bfc9da5a9fc2 -- 2.39.5