Redis is started as a service

Source: Internet
Author: User

 

★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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.