ashwinR commited on
Commit
374a95b
1 Parent(s): 7e56007

Update supervisord.conf

Browse files
Files changed (1) hide show
  1. supervisord.conf +6 -10
supervisord.conf CHANGED
@@ -1,17 +1,13 @@
1
  [supervisord]
2
  nodaemon=true
3
-
4
- [program:postgresql]
5
- command=/usr/lib/postgresql/13/bin/postgres -D /var/lib/postgresql/13/main -c config_file=/etc/postgresql/13/main/postgresql.conf
6
- autostart=true
7
- autorestart=true
8
 
9
  [program:redis]
10
  command=redis-server
11
- autostart=true
12
- autorestart=true
13
 
14
- [program:app]
15
- command=uvicorn app:app --host 0.0.0.0 --port 80
16
- autostart=true
 
 
17
  autorestart=true
 
1
  [supervisord]
2
  nodaemon=true
3
+ user=root
 
 
 
 
4
 
5
  [program:redis]
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