Skip to content

Instantly share code, notes, and snippets.

@dishuostec
Created December 17, 2014 05:20
Show Gist options
  • Save dishuostec/f04e226acc47cf7bfadd to your computer and use it in GitHub Desktop.
Save dishuostec/f04e226acc47cf7bfadd to your computer and use it in GitHub Desktop.
redis service config file for winsw
<service>
<id>redis</id>
<name>redis</name>
<description>redis server</description>
<workingdirectory>d:\redis</workingdirectory>
<logpath>d:\redis\logs</logpath>
<logmode>rotate</logmode>
<executable>redis-server.exe</executable>
<startargument>redis.windows.conf</startargument>
<stopexecutable>taskkill.exe</stopexecutable>
<stopargument>/f</stopargument>
<stopargument>/im</stopargument>
<stopargument>redis-server.exe</stopargument>
<stopargument>/t</stopargument>
</service>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment