Displaying 1 result from an estimated 1 matches for "webrickctl".
2005 May 14
4
Problems with custom service and webrick
...le of problems with the following
service. The first issue is that the code in
service_start doesn''t seem to fire off. The second
problem is that any attempt to do ''require "webrick"''
within webrick_daemon.rb causes the service to fail on
start.
Any ideas?
# webrickctl.rb
###############################################
# webrickctl.rb
#
# Control script for the Webrick Service
###############################################
require "optparse"
require "win32/service"
include Win32
OPTIONS = {}
ARGV.options do |opts|
opts.on("-d",...