From f473802d5ebe9192c635c477d053523b2baaa3a3 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Tue, 10 Jun 2014 20:27:06 +0200 Subject: Change ctls -> catlfish. --- src/catlfish.erl | 12 ++++++++++++ src/ctls.erl | 12 ------------ src/https_server.erl | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) create mode 100644 src/catlfish.erl delete mode 100644 src/ctls.erl (limited to 'src') diff --git a/src/catlfish.erl b/src/catlfish.erl new file mode 100644 index 0000000..015d8b4 --- /dev/null +++ b/src/catlfish.erl @@ -0,0 +1,12 @@ +%% This is a CA transparency log. + +%% In order to find https_server and other required modules, a couple +%% of subdirectories need to be added to the Erlang path +%% (code:add_pathz/1). This can be done in an ~/.erlang file. + +-module('catlfish'). +-export([start/0]). + +start() -> + io:format("Starting catlfish~n"), + https_server:start(). diff --git a/src/ctls.erl b/src/ctls.erl deleted file mode 100644 index 9c4c9b4..0000000 --- a/src/ctls.erl +++ /dev/null @@ -1,12 +0,0 @@ -%% This is a CA transparency log. - -%% In order to find https_server and other required modules, a couple -%% of subdirectories need to be added to the Erlang path -%% (code:add_pathz/1). This can be done in an ~/.erlang file. - --module('ctls'). --export([start/0]). - -start() -> - io:format("Starting ctls~n"), - https_server:start(). diff --git a/src/https_server.erl b/src/https_server.erl index ccbc2e7..47b4465 100644 --- a/src/https_server.erl +++ b/src/https_server.erl @@ -9,7 +9,7 @@ start() -> end, %% TODO: put this in httpd_props.conf and use that at erlang %% start. inets:start(httpd, {proplist_file, "httpd_props.conf"}). - ServerRoot = "/home/linus/usr/src/ct/ctls/webroot", + ServerRoot = "/home/linus/usr/src/ct/catlfish/webroot", {ok, Pid} = inets:start(httpd, [{port, 8080}, -- cgit v1.1