Skip to content

Instantly share code, notes, and snippets.

@antonioalegria
Created November 25, 2009 18:22
Show Gist options
  • Save antonioalegria/242917 to your computer and use it in GitHub Desktop.
Save antonioalegria/242917 to your computer and use it in GitHub Desktop.
Bluepill.application('testapp', :log_file => '/Users/tonio/workspace/bluepill-test/log.txt') do |app|
app.process('proc1') do |process|
process.group = 'group'
process.start_command = %q{jruby -e 'while(true); puts "batata"; $stdout.flush; sleep(5); end'}
process.pid_file = '/Users/tonio/workspace/bluepill-test/pid'
process.daemonize = true
process.stdout = '/Users/tonio/workspace/bluepill-test/out.txt'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment