github.com/blystad/deis@v0.11.0/controller/bin/reload (about)

     1  #!/bin/bash
     2  
     3  # gracefully reload celery
     4  kill -HUP $(cat /tmp/celery.pid)
     5  
     6  # gracefully reload gunicorn
     7  kill -HUP $(cat /tmp/gunicorn.pid)
     8  
     9  exit 0