Sha256: 1712242fa92613a3798efa16aa62f2f5a5331c545bc00df018eb6ea97001d80b

Contents?: true

Size: 450 Bytes

Versions: 41

Compression:

Stored size: 450 Bytes

Contents

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

if ["--no-forever","--no-daemon"].include? ARGV[0]
  cfg={}
  cfg[:dyn_root]=ARGV[1] if ARGV[1]
  Dyndoc::HtmlServers.dyn_html_filewatcher(cfg)
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-html',{dir: dir_pids}) do
      Dyndoc::HtmlServers.dyn_html_filewatcher
  end

end

Version data entries

41 entries across 41 versions & 1 rubygems

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