在Windows中创建memcached服务失败

Sco*_*合理论 2 memcached windows-services

我正在使用Memcached-for-Windows,请参阅:

http://blog.elijaa.org/index.php?post/2010/08/25/Memcached-1.4.5-for-Windows&similar

我试过用:

sc create "memcached" binPath="C:/memcached/mem
cached.exe" start=auto
Run Code Online (Sandbox Code Playgroud)

但我无法创建Windows服务,也没有警告或错误,只是:

Creates a service entry in the registry and Service Database.
SYNTAX:
sc create [service name] [binPath= ] <option1> <option2>...
CREATE OPTIONS:
NOTE: The option name includes the equal sign.
type= <own|share|interact|kernel|filesys|rec>
   (default = own)
 start= <boot|system|auto|demand|disabled>
   (default = demand)
 error= <normal|severe|critical|ignore>
       (default = normal)
 binPath= <BinaryPathName>
 group= <LoadOrderGroup>
 tag= <yes|no>
 depend= <Dependencies(separated by / (forward slash))>
 obj= <AccountName|ObjectName>
       (default = LocalSystem)
 DisplayName= <display name>
 password= <password>
Run Code Online (Sandbox Code Playgroud)

Sir*_*dda 8

要实现这一点,您甚至可以执行命令行,该命令行将创建一个服务.首先通过命令行转到.exe文件所在的路径.

C:\Users\sireesh.yarlagadda>memcached.exe -d install
Run Code Online (Sandbox Code Playgroud)

执行此行后,您将看到为memcached创建的新服务