Run CouchDB as service under Windows with AnyService
I started loving CouchDB, even under windows. But it lacks a method to run it as a service. So, i wrote myself a little tool called AnyService, to be able to install CouchDB as a windows system service. (Remarks: you can use AnyService to turn any program into a service
)
Here is how it’s done:
AnyService.exe install CouchDB "C:\Program Files\Apache Software Foundation\CouchDB\bin\erl.exe -smp auto -sasl errlog_type error -eval 'application:load(crypto)' -eval 'application:load(couch)' -eval 'crypto:start()' -eval 'couch_server:start([''../etc/couchdb/default.ini'', ''../etc/couchdb/local.ini'']), receive done -> done end.'"
AnyService.exe start CouchDB
Do you have a binary for AnyService.exe? I dont have the tools to compile it. thx.
eckoit
January 21, 2011 at 5:21 pm