summaryrefslogtreecommitdiff
path: root/src/chttpd_app.erl
diff options
context:
space:
mode:
authorAdam Kocoloski <adam@cloudant.com>2010-06-09 11:41:57 -0400
committerAdam Kocoloski <adam@cloudant.com>2010-06-09 11:41:57 -0400
commit8b187422a888a94b8f1d48eee52f100510a83141 (patch)
tree01556f7f26a4732a3c8bcc63a0127a195f00b61f /src/chttpd_app.erl
new app for dedicated cluster HTTP interface
Diffstat (limited to 'src/chttpd_app.erl')
-rw-r--r--src/chttpd_app.erl11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/chttpd_app.erl b/src/chttpd_app.erl
new file mode 100644
index 00000000..4b8356fb
--- /dev/null
+++ b/src/chttpd_app.erl
@@ -0,0 +1,11 @@
+-module(chttpd_app).
+-behaviour(application).
+-export([start/2, stop/1]).
+
+-include("chttpd.hrl").
+
+start(_Type, StartArgs) ->
+ chttpd_sup:start_link(StartArgs).
+
+stop(_State) ->
+ ok.