xref: /6.0.3/couchdb/bin/couchdb.bat.tpl.in (revision a1ab05be)
1@echo off
2rem Licensed under the Apache License, Version 2.0 (the "License"); you may not
3rem use this file except in compliance with the License. You may obtain a copy
4rem of the License at
5rem
6rem   http://www.apache.org/licenses/LICENSE-2.0
7rem
8rem Unless required by applicable law or agreed to in writing, software
9rem distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
10rem WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
11rem License for the specific language governing permissions and limitations
12rem under the License.
13
14setlocal
15rem First change to the drive with the erlang bin directory
16%~d0
17rem then change to the erlang bin directory
18cd %~dp0
19
20rem Allow a different erlang executable (eg, werl) to be used.
21if "%ERL%x" == "x" set ERL=erl.exe
22
23echo CouchDB %version% - prepare to relax...
24%ERL% -sasl errlog_type error -s couch
25