#pid
#kill, #running?, #start
trap
4 5 6 7 8 9
# File 'lib/flamingo/daemon/web_server_process.rb', line 4 def run $0 = 'flamingod-web' host, port = Flamingo.config.web.host('0.0.0.0:4711').split(":") Flamingo::Web::Server.run! :host=>host, :port=>port.to_i, :daemon_pid=>Process.ppid end