<service> <!-- ID of the service. It should be unique across the Windows system--> <id>redis-vector-server</id> <!-- Display name of the service --> <name>redis-vector-server</name> <!-- Service description --> <description>Redis向量库</description> <executable>C:/km-edge-service/ops-tools/Redis-8.10.1-Windows-x64-cygwin/redis-server.exe</executable> <arguments>redis.conf</arguments> <!-- Path to the executable, which should be started --> <startmode>Automatic</startmode> <log mode="roll-by-size"> <sizeThreshold>10240</sizeThreshold> <keepFiles>8</keepFiles> </log> </service>
redis.conf
1 2 3
bind * -::* port 16379 requirepass TestPassword1234.@#$%^^&&^