Sha256: b0289e457d4a75c18ba0607fb0786688a15ed9267ed602a2eac246ee5fe61304

Contents?: true

Size: 212 Bytes

Versions: 2

Compression:

Stored size: 212 Bytes

Contents

require 'daemon-ogre'

# start as
#   ruby sample_daemon_app.rb --daemon
# puts "app name: #{$0}"

DaemonOgre.init

60.times do

  puts Time.now
  sleep 1

end

sleep 1
# to check it's running
`ps aux | grep $0`

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
daemon-ogre-2.1.3 example/daemonizable.rb
daemon-ogre-2.1.2 example/daemonizable.rb