Skip to content

Instantly share code, notes, and snippets.

@sbusso
Created March 29, 2011 08:27
Show Gist options
  • Save sbusso/891998 to your computer and use it in GitHub Desktop.
Save sbusso/891998 to your computer and use it in GitHub Desktop.
Set redis on ubuntu & resque
# install redis
# cp file /etc/redis/redis.conf
# create file /etc/init.d/redis
# create user and group redis
$ sudo update-rc.d redis
bundle exec resque-web -e production -s thin -L config/initializers/resque.rb
bundle exec resque-web -K
rake resque:scheduler INITIALIZER_PATH=config/initializers/resque.rb
QUEUE=cron rake environment resque:work
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment