4 class WindowsDaemon < Win32::Daemon
5 def self.daemonize_runner(pid=nil)
6 raise "Writing pid files are not supported on the Windows Platform" if pid
7 raise "The Windows Daemonizer should only be used on the Windows Platform" unless Util.windows?
13 Log.debug("Starting Windows Service Daemon")
15 runner = Runner.new(nil)
20 Log.info("Windows service stopping")
21 PluginManager["connector_plugin"].disconnect