Skip to content

Instantly share code, notes, and snippets.

@alfredfrancis
Created May 18, 2018 17:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alfredfrancis/5c90c8eae68152ff2fa79d04537c2044 to your computer and use it in GitHub Desktop.
Save alfredfrancis/5c90c8eae68152ff2fa79d04537c2044 to your computer and use it in GitHub Desktop.
Sample Supervisord conf to start flask app
[program:mlmodule]
command = /root/anaconda2/bin/gunicorn launcher:app -w 4 -b 0.0.0.0:6666
directory = /datavolume/manuels_module
user = root
stdout_logfile = /datavolume/manuels_module/gunicorn_stdout.log
stderr_logfile = /datavolume/manuels_module/gunicorn_stderr.log
redirect_stderr = True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment