File: main.eye

package info (click to toggle)
ruby-eye 0.7-5.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 672 kB
  • sloc: ruby: 5,003; makefile: 3
file content (15 lines) | stat: -rw-r--r-- 266 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Eye.load('./plugin.rb')

Eye.config do
  logger "/tmp/eye.log"
  enable_reactor(1.second, "/tmp/cmd.txt")
  enable_saver("/tmp/saver.log")
end

Eye.app :app do
  process :process do
    pid_file "/tmp/p.pid"
    start_command "sleep 10"
    daemonize true
  end
end