ashwinR commited on
Commit
82fc6a3
1 Parent(s): 4378bc0

Update supervisord.conf

Browse files
Files changed (1) hide show
  1. supervisord.conf +2 -2
supervisord.conf CHANGED
@@ -6,8 +6,8 @@ user=root
6
  command=redis-server
7
 
8
  [program:postgresql]
9
- command=service postgresql start
10
 
11
  [program:uvicorn]
12
- command=uvicorn app:app --host 0.0.0.0 --port 7860
13
  autorestart=true
 
6
  command=redis-server
7
 
8
  [program:postgresql]
9
+ command=/usr/lib/postgresql/12/bin/postgres -D /var/lib/postgresql/12/main -c config_file=/etc/postgresql/12/main/postgresql.conf
10
 
11
  [program:uvicorn]
12
+ command=/app/start.sh
13
  autorestart=true