Giter Site home page Giter Site logo

win32-service's Introduction

== Description
  The win32-service library allows you to control or create MS Windows services.

== Installation
  gem install win32-service                        # Build from source
  gem install win32-service --platform x86-mswin32 # Install binary

== Synopsis
  require 'win32/service'

  # Iterate over the available services
  Service.services do |service|
    p service
  end

== More Documentation
  Please see the documentation in the 'doc' directory, or the gem documentation
  that was installed when you installed this library as a gem.

== Known Issues
=== Problem:
  Service.delete causes "Unable to delete: The specified service has been
  marked for deletion."
 
=== Troubleshooting:
  This can be caused by one of two things. Either you attempted to delete a
  running service without stopping it first, or you have the Services
  administrative tool (GUI) open. In the form case, the solution is to first
  stop the service if it's running. In the latter, close the Services GUI
  admin tool before deleting.
	
=== Problem:
  Service.start causes, "The service did not respond to the start or control
  request in a timely fashion."

=== Troubleshooting:
  The best way to debug your services is to wrap your entire Daemon subclass
  in a begin/end block and send error messages to a file. That should give a
  good clue as to the nature of the problem. The most probable culprits are:

  * You've tried to require a library that's not in your $LOAD_PATH. Make sure
  that your require statements are inside the begin/rescue block so that you can
  easily find those mistakes.

  * Your have a bad binary path name. Be sure to use an absolute path name for
  the binary path name, including the full path to the Ruby interpreter, e.g.
  'c:\ruby\bin\ruby' instead of just 'ruby'.

  * You've got a syntax error in your code somewhere.

== See Also
  ruby-wmi

== Future Plans
  Pure Ruby Daemon class
  Add service_session_change hook

== Copyright
  (C) 2003-2010, Daniel J. Berger, All Rights Reserved
    
== License
  Artistic 2.0
    
== Warranty
  This package is provided "as is" and without any express or
  implied warranties, including, without limitation, the implied
  warranties of merchantability and fitness for a particular purpose.
    
== Authors
  Daniel J. Berger   
  Park Heesob

win32-service's People

Contributors

djberg96 avatar selman avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.