File: rbenv.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 (11 lines) | stat: -rw-r--r-- 368 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
Eye.application "rbenv_example" do
  env 'RBENV_ROOT' => '/usr/local/rbenv', 'PATH' => "/usr/local/rbenv/shims:/usr/local/rbenv/bin:#{ENV['PATH']}"
  working_dir File.expand_path(File.join(File.dirname(__FILE__), %w[ processes ]))

  process "some_process" do
    pid_file "some.pid"
    start_command "ruby some.rb"
    daemonize true
    stdall "some.log"
  end
end