Created
August 14, 2010 15:30
-
-
Save sinefunc/524408 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
check process redis | |
with pidfile /home/leafpile/app/db/redis/production/redis.pid | |
start program = "/opt/redis/bin/redis-server /home/leafpile/app/config/redis/production.conf" | |
as uid leafpile and gid leafpile | |
stop program = "/opt/redis/bin/redis-cli -p 22222 shutdown" | |
as uid leafpile and gid leafpile | |
if failed host 127.0.0.1 port 22222 then restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment