#Redis init script to use with Centos 6 /RHEL 6
- Download and place redis_6379 at /etc/init.d/
- Adjust the init script with your redis installation config
redis="/usr/local/bin/redis-server" < change this to where your redis-server installed
REDISPORT=6379 < change this with your redis port
REDIS_CONF_FILE="/etc/redis/${REDISPORT}.conf" < if using port 6379 your config is at /etc/redis/6379 - Make it autostart with # chkconfig redis_6379 on
- Usage : # service redis_6379 start {|stop|status|restart|condrestart|try-restart|reload|force-reload}