templates/server.rb.tt in zoomq-0.1.1 vs templates/server.rb.tt in zoomq-0.2.0

- old
+ new

@@ -7,21 +7,11 @@ end module <%=config[:constant_name]%> class Server - def initialize - $log.info("<%=config[:name]%>:initialize #{RUBY_DESCRIPTION}") - $log.info("<%=config[:name]%>:initialize", { - env: Env.mode, - }) - - @server = ZooMQ::Server.new(<%=config[:name].inspect%>, $conf.zookeeper, $log) - end - - def run - $log.info("<%=config[:name]%>:run") - @server.run + def service_name + <%=config[:name].inspect%> end end end