Displaying 1 result from an estimated 1 matches for "daemonctrl".
2004 Feb 10
0
Daemon help
I''m having some trouble separating the Daemon class stuff from the
Service Control stuff. I have a "daemon.rb" file in ''C:\''. I also have
a daemonctrl.rb script in another directory. It installs fine, but I
can never start it successfully. What am I doing wrong?
Dan
# daemon.rb in ''C:\''
require "win32/service"
include Win32
class Daemon
def service_stop
File.open("c:\\foo.log","a+"){ |f| f...