1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
0
The issue may be in the keepalive settings of your app. Or better the timeout of the sessions where your app stands in. Usually you would use a screen function on Linux to keep the session up even if your not logged.
Try to modify your supervisord as follows to mimick tmux or screen functions.
[program:minflask]
command=python3 minflask.py
directory=/path/to/your/app
autostart=true
autorestart=true
stderr_logfile=/var/log/minflask.err.log
stdout_logfile=/var/log/minflask.out.log
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor 6 Monaten
- AWS OFFICIALAktualisiert vor 2 Jahren