Jdesk / memcached

Automatically exported from code.google.com/p/memcached
0 stars 0 forks source link

Prepackaged Windows binaries use "runservice" when being installed as a service #147

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.In Windows: "memcached.exe -d install"
2.Looking at the service executable path, it now reads "memcached.exe -d 
runservice"
3."-d runservice" isn't described in the help, even though it works.

What is the expected output? What do you see instead?
I would expect the service to be install with "-d start"

What version of the product are you using? On what operating system?
Windows, 32 or 64 bit

Please provide any additional information below.

Original issue reported on code.google.com by perryk...@gmail.com on 30 Jun 2010 at 6:23

GoogleCodeExporter commented 9 years ago
The -d option shouldn't be used to install memcached as a service (or used to 
start it as a windows service). -d means to start it as a daemon (detach from 
the tty etc). This change is already available in the engine branch.

If you want to run memcached as a "Windows service" one can use sc.exe to set 
it up (for more info see: http://support.microsoft.com/kb/251192/en-us )

Original comment by trond.no...@gmail.com on 4 Jul 2010 at 12:41

GoogleCodeExporter commented 9 years ago
yes but sc.exe not work with memcached :(

Original comment by goo...@arkadia.com on 30 Apr 2013 at 2:12

GoogleCodeExporter commented 9 years ago
Use this to install it as a service instead:

http://nssm.cc/

Original comment by skro...@gmail.com on 30 Apr 2013 at 9:37