-
-
Save alexindigo/1306753 to your computer and use it in GitHub Desktop.
Redis upstart script (/etc/init/)
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
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