Init script for run multi redis nodes with dedicated configs.
Installed redis-server and redis-cli binaries
If you use debian, simple build and install package. Otherwise copy and rename init script in compliance with your distribution.
Edit variables $CONFIG_DIR, $DAEMON, $REDIS_CLI according to your setup.
- Run one node sudo /etc/init.d/redis-init start foo
- Run all nodes sudo /etc/init.d/redis-init start
- Stop one node sudo /etc/init.d/redis-init stop foo
- Stop all nodes sudo /etc/init.d/redis-init stop all