Spaces:
Running
Running
Upload folder using huggingface_hub
Browse files- deploy/supervisord.conf +3 -1
- entrypoint.sh +1 -0
deploy/supervisord.conf
CHANGED
|
@@ -1,8 +1,10 @@
|
|
| 1 |
[supervisord]
|
| 2 |
nodaemon=true
|
| 3 |
user=root
|
| 4 |
-
logfile=/
|
|
|
|
| 5 |
pidfile=/tmp/supervisord.pid
|
|
|
|
| 6 |
|
| 7 |
[program:postgres]
|
| 8 |
command=/usr/lib/postgresql/15/bin/postgres -D %(env(PGDATA)s) -c config_file=%(env(PGDATA)s)/postgresql.conf -k /tmp
|
|
|
|
| 1 |
[supervisord]
|
| 2 |
nodaemon=true
|
| 3 |
user=root
|
| 4 |
+
logfile=/dev/stdout
|
| 5 |
+
logfile_maxbytes=0
|
| 6 |
pidfile=/tmp/supervisord.pid
|
| 7 |
+
loglevel=info
|
| 8 |
|
| 9 |
[program:postgres]
|
| 10 |
command=/usr/lib/postgresql/15/bin/postgres -D %(env(PGDATA)s) -c config_file=%(env(PGDATA)s)/postgresql.conf -k /tmp
|
entrypoint.sh
CHANGED
|
@@ -137,4 +137,5 @@ if [ -f /app/deploy/supervisord.conf ]; then
|
|
| 137 |
cp /app/deploy/supervisord.conf /etc/supervisor/supervisord.conf
|
| 138 |
fi
|
| 139 |
|
|
|
|
| 140 |
exec /usr/bin/supervisord -c /etc/supervisor/supervisord.conf
|
|
|
|
| 137 |
cp /app/deploy/supervisord.conf /etc/supervisor/supervisord.conf
|
| 138 |
fi
|
| 139 |
|
| 140 |
+
echo "[entrypoint] Executing supervisord..."
|
| 141 |
exec /usr/bin/supervisord -c /etc/supervisor/supervisord.conf
|