Skip to content

Instantly share code, notes, and snippets.

@ohokay
Created August 20, 2010 19:22
Show Gist options
  • Save ohokay/540953 to your computer and use it in GitHub Desktop.
Save ohokay/540953 to your computer and use it in GitHub Desktop.
#!upstart
description "redis"
start on runlevel [23]
script
export HOME="/home/rails"
exec sudo -u rails /usr/bin/redis-server /etc/redis.conf
end script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment