Class: Wildcloud::Git::Server

Inherits:
Object
  • Object
show all
Defined in:
lib/wildcloud/git/server.rb

Class Method Summary collapse

Class Method Details

.startObject



27
28
29
30
31
32
# File 'lib/wildcloud/git/server.rb', line 27

def self.start
  Git.logger.info('Server', 'Starting')
  @core = Wildcloud::Git::Core.new
  EventMachine.start_server(Git.configuration['paths']['socket'], Wildcloud::Git::Protocol, @core)
  Git.logger.info('Server', 'Started')
end