Skip to content

Instantly share code, notes, and snippets.

@mlissner
Created December 22, 2014 05:34
Show Gist options
  • Save mlissner/afc7cbf740612ff839ba to your computer and use it in GitHub Desktop.
Save mlissner/afc7cbf740612ff839ba to your computer and use it in GitHub Desktop.
Mine.
start_workers () {
echo "Starting workers with command: "
echo " $CELERYD_MULTI start $CELERYD_NODES $DAEMON_OPTS \
--pidfile=\"$CELERYD_PID_FILE\" \
--logfile=\"$CELERYD_LOG_FILE\" \
--loglevel=\"$CELERYD_LOG_LEVEL\" \
--cmd=\"$CELERYD\" $CELERYD_OPTS"
$CELERYD_MULTI start $CELERYD_NODES $DAEMON_OPTS \
--pidfile="$CELERYD_PID_FILE" \
--logfile="$CELERYD_LOG_FILE" \
--loglevel="$CELERYD_LOG_LEVEL" \
--cmd="$CELERYD" \
$CELERYD_OPTS
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment