Sha256: 29e9133e366dd33d4017604f4a1a7a02d91f940c858f5de60d25ae2e743d7685
Contents?: true
Size: 392 Bytes
Versions: 15
Compression:
Stored size: 392 Bytes
Contents
#!/usr/bin/ruby require "dyndoc/srv/interactive-server" if ["--no-forever","--no-daemon"].include? ARGV[0] Dyndoc::InteractiveServer.new.run 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-srv',{dir: dir_pids}) do Dyndoc::InteractiveServer.new.run end end
Version data entries
15 entries across 15 versions & 1 rubygems