Skip to content

sudibianto/redis_init_script_per_port_centos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

#Redis init script to use with Centos 6 /RHEL 6

  1. Download and place redis_6379 at /etc/init.d/
  2. 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
  3. Make it autostart with # chkconfig redis_6379 on
  4. Usage : # service redis_6379 start {|stop|status|restart|condrestart|try-restart|reload|force-reload}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages