Class: Radd::DNSService

Inherits:
Async::Service::GenericService
  • Object
show all
Defined in:
lib/radd/dns_service.rb

Instance Method Summary collapse

Instance Method Details

#setup(container) ⇒ Object



2
3
4
5
6
7
8
9
10
11
# File 'lib/radd/dns_service.rb', line 2

def setup(container)
  super
  
  container.run(count: 1, restart: false) do |instance|
    instance.ready!
    puts "DNS service starting..."
    
    Radd::DNS.new.run
  end
end