Project

General

Profile

Download (403 Bytes) Statistics
| Branch: | Tag: | Revision:
#!/usr/bin/ruby

require 'daemons'


options = {
:app_name => "CyborgHood_Postman",
:dir_mode => :normal,
:dir => "/opt/cyborghood/run",
:multiple => false,
:mode => :exec,
:monitor => true
}
# deactivated: monitor process not stopped when program is asked to stop
# :backtrace => true,
Daemons.run(File.join(File.dirname(__FILE__), 'postman'), options)
(5-5/5)