Parent

Class Index [+]

Quicksearch

MCollective::WindowsDaemon

Public Class Methods

daemonize_runner(pid=nil) click to toggle source

(Not documented)

    # File lib/mcollective/windows_daemon.rb, line 5
 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?
 8: 
 9:       WindowsDaemon.mainloop
10:     end

Public Instance Methods

service_main() click to toggle source

(Not documented)

    # File lib/mcollective/windows_daemon.rb, line 12
12:     def service_main
13:       Log.debug("Starting Windows Service Daemon")
14: 
15:       while running?
16:         Runner.new(nil).run
17:       end
18:     end
service_stop() click to toggle source

(Not documented)

    # File lib/mcollective/windows_daemon.rb, line 20
20:     def service_stop
21:       Log.info("Windows service stopping")
22:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.