Skip to content

Instantly share code, notes, and snippets.

@alexindigo
Forked from carlzulauf/redis.conf
Created October 23, 2011 02:08
Show Gist options
  • Save alexindigo/1306753 to your computer and use it in GitHub Desktop.
Save alexindigo/1306753 to your computer and use it in GitHub Desktop.
Redis upstart script (/etc/init/)
description "redis server"
start on runlevel [2345]
stop on shutdown
expect fork
exec sudo -u redis /usr/local/bin/redis-server /usr/local/etc/redis.conf
respawn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment