Skip to content

Instantly share code, notes, and snippets.

@sweldon
Created March 13, 2020 20:44
Show Gist options
  • Save sweldon/e550aa22d475f4116a6c75bf1644d99f to your computer and use it in GitHub Desktop.
Save sweldon/e550aa22d475f4116a6c75bf1644d99f to your computer and use it in GitHub Desktop.
Supervisor Config Example
[supervisord]
environment=SOME_ENV_VAR="blah",ANOTHER_ENV_VAR="blah"
[program:flower]
command=/home/ubuntu/venv/bin/flower -A projName --port=5555
directory=/home/ubuntu/projName
autostart=true
autorestart=true
stderr_logfile=/var/log/flower-supervisor.err.log
stdout_logfile=/var/log/flower-supervisor.out.log
; supervisorctl reread
; supervisorctl update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment