-
-
Save nielsonsantana/5b92de6f3f5c4d82a1d6 to your computer and use it in GitHub Desktop.
Redis supervisor config
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
[program:redis] | |
command=/usr/bin/redis-server /etc/redis/redis.conf | |
user=root | |
autostart=true | |
autorestart=true | |
stdout_logfile=/var/log/redis/stdout.log | |
stderr_logfile=/var/log/redis/stderr.log | |
stopsignal=QUIT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This script only will restart redis if
daemonize no
in /etc/redis/redis.confIn case of use a custom folder to store data, use this: