Redis – HOWTO Automatically start and stop Redis under Ubuntu / Debian

[error]Please read the license below carefully. You agree to it if you use any of the code on this page.[/error]

The following is an init.d script that goes in /etc/init.d on your Debian or Ubuntu install and allows you to start and stop redis. Simply copy it to /etc/init.d/redis-server, chmod +x /etc/initi.d/redis-server and then you can start and stop redis like so:

Published on: 3 May 2012
Posted by: Sami K.