Created
July 22, 2012 11:21
-
-
Save esamattis/3159365 to your computer and use it in GitHub Desktop.
Redis upstart script
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
# /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