programming with esskar

Just another WordPress.com weblog

Run CouchDB as service under Windows with AnyService

with one comment

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

Advertisement

Written by esskar

March 30, 2010 at 12:19 pm

Posted in .NET programming

Tagged with , ,

One Response

Subscribe to comments with RSS.

  1. 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


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.