Sha256: e3c3c703f36368173c8cc5adc51ce722efc411c585c8757040390b3a315d3d7b

Contents?: true

Size: 722 Bytes

Versions: 7

Compression:

Stored size: 722 Bytes

Contents

require_relative "daemon-ogre"

DaemonOgre.start :name      => "api_one",          #this will be the name of the application
                 :log_path  => "./var/log/log_file_name",  #this will be the logfile place and name
                 :pid_path  => "./var/pid/pid_file_name",  #this will be the pidfile place and name
                 :terminate => true,                      #this command not let start your code if it's not started
                 :clear     => true                        # with "start" arguments like :
                                                           #                  ruby my_awsome_app.rb start



#my awesome Hello App
puts "hello App!"

i=0
until i > 1200
  sleep 1
  i+=1
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
daemon-ogre-2.1.3 test/example.rb
daemon-ogre-2.1.2 test/example.rb
daemon-ogre-2.1.1 test/example.rb
daemon-ogre-2.0.3 test/example.rb
daemon-ogre-2.0.2 test/example.rb
daemon-ogre-2.0.1 test/example.rb
daemon-ogre-2.0.0 test/example.rb