lib/mimi/cli/template/lib/file_name/application.rb in mimi-0.1.0 vs lib/mimi/cli/template/lib/file_name/application.rb in mimi-0.1.1

- old
+ new

@@ -8,6 +8,18 @@ configure do # use Mimi::DB # use Mimi::Messaging end + + on :start do + logger.info "** #{self.class.name_version} started" + end + + every 1.second do + logger.info "** tick" + end + + on :stop do + logger.info "** #{self.class.name_version} stopped" + end end # class <%= module_name %>::Application