★Expected goal: Install rediswatcher as a Windows service. after the installation is complete, go to the installation directory and modify watcher. conf. note that any path cannot contain spaces, Chinese characters, special characters, and all use absolute path ※configuration file Chinese annotator # exepath --> redis-server.exe path, note !!! Must use a single file version, do not use cygwin and the like # recommended: https://github.com/MSOpenTech/redis/tree/2.6/bin/releaseexepath c: \ redis \ binexename redis-server.exe # optional fast failure time, in milliseconds, basically, no need to configure # fastfailms 1000 # Number of retries. The default value is "always retry", that is, 0 # fastfailretries 0 # N instances are supported. Note that, redisredis can only listen to redis processes started by rediswatcher, rather than redis services started by users !! {# Working directory, which must be created by yourself !!! Workingdir c: \ redis \ inst1 # whether it is in background mode. We strongly recommend that you use background mode !! Optional value: hidden/consolerunmode hidden # Whether to export standard output and standard error output to % workingdir % \ stdout. log and % workingdir % \ stderr. logsaveout 1 # parameter, usually redis. conf path. The absolute path is recommended in 100% !!, We recommend that you use logfile in redis. conf to redirect redis logs to the desired location! # You can leave it empty. The default configuration is "upgrade parms c: \ redis \ inst1 \ redis. conf} # You can continue to enter other download and install methods ."
Download the Installation File
Redis is started as a service