Sha256: f9e8ab6c488e122e812834a67e21c7ee6eb0c73a5d8d1b37d894a08b9ffab00b

Contents?: true

Size: 390 Bytes

Versions: 41

Compression:

Stored size: 390 Bytes

Contents

#!/usr/bin/env ruby
require 'dyndoc-html-servers'

if ["--no-forever","--no-daemon"].include? ARGV[0]
  Dyndoc::HtmlServers.dyn_http_server
else
  require 'daemons'
  require 'dyndoc/init/home'
  require 'fileutils'

  dir_pids=File.join(Dyndoc.home,"pids")
  FileUtils.mkdir_p dir_pids
  Daemons.run_proc('dyn-http',{dir: dir_pids}) do
      Dyndoc::HtmlServers.dyn_http_server
  end

end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
dyndoc-ruby-1.5.0 bin/dyn-http
dyndoc-ruby-1.4.7 bin/dyn-http
dyndoc-ruby-1.4.6 bin/dyn-http
dyndoc-ruby-1.4.5 bin/dyn-http
dyndoc-ruby-1.4.2 bin/dyn-http
dyndoc-ruby-1.4.1 bin/dyn-http
dyndoc-ruby-1.4.0 bin/dyn-http
dyndoc-ruby-1.3.9 bin/dyn-http
dyndoc-ruby-1.3.6 bin/dyn-http
dyndoc-ruby-1.3.4 bin/dyn-http
dyndoc-ruby-1.3.2 bin/dyn-http
dyndoc-ruby-1.3.0 bin/dyn-http
dyndoc-ruby-1.2.2 bin/dyn-http
dyndoc-ruby-1.2.1 bin/dyn-http
dyndoc-ruby-1.2.0 bin/dyn-http
dyndoc-ruby-1.0.25 bin/dyn-http
dyndoc-ruby-1.0.24 bin/dyn-http
dyndoc-ruby-1.0.23 bin/dyn-http
dyndoc-ruby-1.0.22 bin/dyn-http
dyndoc-ruby-1.0.21 bin/dyn-http