Skip to content

Instantly share code, notes, and snippets.

@shudarshon
Created July 7, 2017 17:44
Show Gist options
  • Save shudarshon/f5a01ffe2a5b6c80251699b98ab0c33f to your computer and use it in GitHub Desktop.
Save shudarshon/f5a01ffe2a5b6c80251699b98ab0c33f to your computer and use it in GitHub Desktop.
This is a supervisor script which runs flower program in background which is user for rabbitmq queue monitoring.
[program:flower]
command=/home/ubuntu/virtual-env/app/bin/flower --address=0.0.0.0 --port=5000 --basic_auth=USER:PASSWORD
user=ubuntu
numprocs=1
stdout_logfile=/var/log/flower/access.log
stderr_logfile=/var/log/flower/error.log
autostart=true
autorestart=true
startsecs=10
stopwaitsecs=300
killasgroup=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment