Skip to content

Instantly share code, notes, and snippets.

@antonioalegria
Created November 25, 2009 11:13
Show Gist options
  • Save antonioalegria/242643 to your computer and use it in GitHub Desktop.
Save antonioalegria/242643 to your computer and use it in GitHub Desktop.
Bluepill.application('testapp', :log_file => '/Users/tonio/workspace/bluepill-test/log1.txt') do |app|
app.process('proc1') do |process|
process.group = "group1"
process.start_command = "ruby -e \"while(true); puts Time.now.strftime('%T'); sleep(10); end\""
process.pid_file = '/Users/tonio/workspace/bluepill-test/proc1.pid'
process.working_dir = "/Users/tonio/workspace/bluepill-test/"
process.stdout = process.stderr ='/Users/tonio/workspace/bluepill-test/log2.txt'
process.daemonize = true
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment