In the file.conf shows Error using Supervisor, in digital ocean, any option to correct it?

0

When configuring the file.conf
path: sudo nano /etc/supervisor/conf.d/facturaempresa.conf

[program:facturaempresa]
command=/home/user/bin/gunicorn_start
user=user
autostart=true
autorestart=true
redirect_stderr=true
stdout_logfile=/home/user/logs/gunicorn-error.log

When executing the following commands

sudo supervisorctl reread
sudo supervisorctl update
sudo supervisorctl status facturaempresa

the terminal shows the following error

facturaempresa     FATAL     Exited too quickly (process log may have details)

Am I using Ubuntu 16.04.5 x64, django2.0 with python3 gungin nginx in digital ocean, any ideas to correct the configuration error?

    
asked by Developer 03.01.2019 в 05:09
source

1 answer

1

Try this configuration:

[program:tos]
command = /home/usuario/gunicorn_start.bash
user = root
stdout_logfile = /home/usuario/logs/gunicorn_supervisor.log
redirect_stderr = true
environment=LANG=en_US.UTF-8,LC_ALL=en_US.UTF-8

Be sure to change the routes.

    
answered by 04.01.2019 / 15:37
source