#Run Redis as Service on Windows# Redis is one of the fastest and most feature-rich in-memory key value data stores to come from the NoSQL movement.
If you run Redis on Windows machine, the best option is to run each Redis instance as Windows service. This project helps you to do that. It was tested with Redis binaries.
##Install service## To install Redis as service, just compile project sources, put it in the same folder with "redis-server" and "redis-cli" executables and then execute:
sc create %name% binpath= "\"%binpath%\" %configpath%" start= "auto" DisplayName= "Redis"
%name% -- name of service instance, ex.
%binpath% -- path to this project exe file, ex.
%configpath% -- path to redis configuration file, ex.
To understand another properties, like
DisplayName, read article How to create a Windows service by using Sc.exe.
##Uninstall service## To uninstall service, simply execute:
sc delete %name%
Where %name% -- name of already installed service instance.
##Run from console## For testing purposes, you can run redis service in console mode, like