Created
March 29, 2011 08:27
-
-
Save sbusso/891998 to your computer and use it in GitHub Desktop.
Set redis on ubuntu & resque
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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