]> git.parisson.com Git - teleforma.git/commitdiff
remove asgi socket before start
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Thu, 7 Jul 2022 10:14:07 +0000 (12:14 +0200)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Thu, 7 Jul 2022 10:14:07 +0000 (12:14 +0200)
app/asgi.sh
bin

index d65217983c9974f7d02c99afc99d887a18bd46af..8598514301ce2a84b9cfd554882cb7889c3251c5 100755 (executable)
@@ -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 52d01bc8d0ec34d96ae3751fa5709a8ae05066fd..7a7c9ab66099c6e93acacf48d589bfc9da5a9fc2 160000 (submodule)
--- a/bin
+++ b/bin
@@ -1 +1 @@
-Subproject commit 52d01bc8d0ec34d96ae3751fa5709a8ae05066fd
+Subproject commit 7a7c9ab66099c6e93acacf48d589bfc9da5a9fc2