Skip to content

Instantly share code, notes, and snippets.

@pwlin
Created April 3, 2015 11:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pwlin/3730c329d04055e70e1e to your computer and use it in GitHub Desktop.
Save pwlin/3730c329d04055e70e1e to your computer and use it in GitHub Desktop.
CouchDB install/remove Windows Service Instance
@ECHO OFF
:: add service
"%~dp0erts-5.10.3\erlsrv.exe" add "CouchDB" -workdir "%~dp0bin" -onfail restart_always -args "-sasl errlog_type error -s couch +A 4 +W w" -comment "CouchDB Windows Service Instance"
:: remove service
"%~dp0erts-5.10.3\erlsrv.exe" remove "CouchDB"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment