Skip to content

Instantly share code, notes, and snippets.

@rodrigogadea
rodrigogadea / flower.sh
Created January 3, 2014 01:30
Quick and Dirty bash script to daemonize Flower - i.e. /etc/init.d/flower
#!/bin/bash
NAME=flower
DESC="flower daemon"
# Name of the projects settings module.
export DJANGO_SETTINGS_MODULE="yourproject.settings"
# Path to virtualenv
ENV_PYTHON="/home/youruser/.virtualenvs/yourvirtualenv/bin/python"