Fix supervisor stopping issue
This commit is contained in:
parent
c5e819fbfa
commit
23cab66f83
|
@ -36,7 +36,8 @@ Create a file named /etc/supervisor/conf.d/authserver.conf and add:
|
||||||
[program:authserver]
|
[program:authserver]
|
||||||
user=tanner
|
user=tanner
|
||||||
directory=/opt/pslockout/pslockout/authserver
|
directory=/opt/pslockout/pslockout/authserver
|
||||||
command=/bin/bash -c 'source env/bin/activate && python manage.py runserver 0.0.0.0:8000'
|
command=/opt/pslockout/pslockout/authserver/env/bin/python manage.py runserver 0.0.0.0:8000
|
||||||
|
stopasgroup=true
|
||||||
autostart=true
|
autostart=true
|
||||||
autorestart=true
|
autorestart=true
|
||||||
stderr_logfile=/var/log/authserver.log
|
stderr_logfile=/var/log/authserver.log
|
||||||
|
|
|
@ -18,7 +18,8 @@ Create a file named /etc/supervisor/conf.d/webserver.conf and add:
|
||||||
[program:webserver]
|
[program:webserver]
|
||||||
user=tanner
|
user=tanner
|
||||||
directory=/opt/pslockout/pslockout/webserver
|
directory=/opt/pslockout/pslockout/webserver
|
||||||
command=/bin/bash -c 'yarn start'
|
command=yarn start
|
||||||
|
stopasgroup=true
|
||||||
autostart=true
|
autostart=true
|
||||||
autorestart=true
|
autorestart=true
|
||||||
stderr_logfile=/var/log/webserver.log
|
stderr_logfile=/var/log/webserver.log
|
||||||
|
|
Loading…
Reference in New Issue
Block a user