]> git.parisson.com Git - teleforma.git/commitdiff
no db wait anymore, chown log
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Thu, 9 Nov 2023 13:25:59 +0000 (14:25 +0100)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Thu, 9 Nov 2023 13:25:59 +0000 (14:25 +0100)
app/wsgi.sh

index 43859828ee8bd9c3311a702747adca4fdf39e796..2eb50d5f8e4cb1428e3b6418c2d5e1067f3d2443 100755 (executable)
@@ -22,7 +22,7 @@ debug_log='/var/log/app/debug.log'
 # /srv/bin/build/local/setup_lib.sh
 
 # waiting for other services
-sh $app/wait.sh
+#sh $app/wait.sh
 
 # django setup
 #python $manage wait-for-db
@@ -43,7 +43,7 @@ else
 
     python $manage collectstatic --noinput
 
-    chown -R www-data: $debug_log
+    chown -R www-data: /var/log
 
     uwsgi /srv/app/wsgi.ini
 fi