Skip to content

Commit

Permalink
rename to egitd
Browse files Browse the repository at this point in the history
  • Loading branch information
mojombo committed Jun 4, 2008
1 parent 62fcb73 commit fb8b28e
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
8 changes: 4 additions & 4 deletions README
@@ -1,12 +1,12 @@
gandalf egitd
by Tom Preston-Werner <tom@github.com> by Tom Preston-Werner <tom@github.com>


Gandalf is an Erlang git-daemon implementation that provides a more flexible, scalable, and loggable way to serve public git repositories. egitd is an Erlang git-daemon implementation that provides a more flexible, scalable, and loggable way to serve public git repositories.


INSTALL INSTALL


$ git clone git://github.com/mojombo/gandalf.git $ git clone git://github.com/mojombo/egitd.git
$ cd gandalf $ cd egitd
$ rake $ rake


RUN RUN
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -13,5 +13,5 @@ task :console do
end end


task :go do task :go do
sh "erl +Bc +K true -smp enable -pz ./ebin/ -sname local_console_#{$$} -kernel start_boot_server true -run gandalf start" sh "erl +Bc +K true -smp enable -pz ./ebin/ -sname local_console_#{$$} -kernel start_boot_server true -run egitd start"
end end
6 changes: 3 additions & 3 deletions ebin/gandalf.app → ebin/egitd.app
@@ -1,9 +1,9 @@
{application, gandalf, {application, egitd,
[{description, "The Erlang git-daemon"}, [{description, "The Erlang git-daemon"},
{vsn, "0.0.0"}, {vsn, "0.0.0"},
{modules, [gandalf_app, gandalf_sup, server]}, {modules, [egitd_app, egitd_sup, server]},
{registered, [server]}, {registered, [server]},
{applications, [kernel, stdlib]}, {applications, [kernel, stdlib]},
{mod, {gandalf_app, []}}, {mod, {egitd_app, []}},
{start_phases, []} {start_phases, []}
]}. ]}.
7 changes: 7 additions & 0 deletions elibs/egitd.erl
@@ -0,0 +1,7 @@
-module(egitd).

-export([start/0]).

start() ->
application:load(egitd),
application:start(egitd).
4 changes: 2 additions & 2 deletions elibs/gandalf_app.erl → elibs/egitd_app.erl
@@ -1,9 +1,9 @@
-module(gandalf_app). -module(egitd_app).
-behaviour(application). -behaviour(application).
-export([start/2, stop/1]). -export([start/2, stop/1]).


start(_Type, StartArgs) -> start(_Type, StartArgs) ->
gandalf_sup:start_link(StartArgs). egitd_sup:start_link(StartArgs).


stop(_State) -> stop(_State) ->
ok. ok.
2 changes: 1 addition & 1 deletion elibs/gandalf_sup.erl → elibs/egitd_sup.erl
@@ -1,7 +1,7 @@
%%%------------------------------------------------------------------- %%%-------------------------------------------------------------------
%%% Author : Tom Preston-Werner %%% Author : Tom Preston-Werner
%%%------------------------------------------------------------------- %%%-------------------------------------------------------------------
-module(gandalf_sup). -module(egitd_sup).
-behaviour(supervisor). -behaviour(supervisor).


-export([start/0, start_link/1, init/1]). -export([start/0, start_link/1, init/1]).
Expand Down
7 changes: 0 additions & 7 deletions elibs/gandalf.erl

This file was deleted.

0 comments on commit fb8b28e

Please sign in to comment.