Skip to content

Instantly share code, notes, and snippets.

@esamattis
Created July 22, 2012 11:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save esamattis/3159365 to your computer and use it in GitHub Desktop.
Save esamattis/3159365 to your computer and use it in GitHub Desktop.
Redis upstart script
# /etc/init/redis-server.conf
description "redis server"
start on runlevel [23]
stop on shutdown
exec sudo -u user redis-server /etc/redis.conf >> /var/log/redis.log
respawn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment