Skip to content

Commit e6198bd

Browse files
committed
Create README.md
1 parent 2775630 commit e6198bd

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#Redis init script to use with Centos 6 /RHEL 6
2+
3+
1. Download and place redis_6379 at /etc/init.d/
4+
2. Adjust the init script with your redis installation config <br>
5+
redis="/usr/local/bin/redis-server" < change this to where your redis-server installed <br>
6+
REDISPORT=6379 < change this with your redis port <br>
7+
REDIS_CONF_FILE="/etc/redis/${REDISPORT}.conf" < if using port 6379 your config is at /etc/redis/6379 <br>
8+
3. Make it autostart with # chkconfig redis_6379 on
9+
4. Usage : # service redis_6379 start {|stop|status|restart|condrestart|try-restart|reload|force-reload}

0 commit comments

Comments
 (0)