Jackeriss
2017-07-21 12:50:12 UTC
But if I run my program without supervisor, it won't exit. This tornado program will process some data for about 4s before starting ioloop.
The issue will not happen when I remove this process.
The config file:
[program:Typora] directory = /home/www/Typora command = /home/www/Typora/venv/bin/python3 main.py --env=prod --port=8101 startsecs = 0 autorestart = false stdout_logfile = /var/log/supervisor/Typora.log stderr_logfile = /var/log/supervisor/Typora.err
The issue will not happen when I remove this process.
The config file:
[program:Typora] directory = /home/www/Typora command = /home/www/Typora/venv/bin/python3 main.py --env=prod --port=8101 startsecs = 0 autorestart = false stdout_logfile = /var/log/supervisor/Typora.log stderr_logfile = /var/log/supervisor/Typora.err