Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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