# Win32-service 0.5.0

**URL:** <https://www.ruby-forum.com/t/win32-service-0-5-0/48934>\
**Category:** Ruby\
**Created:** [November 27, 2005, 2:51am UTC](https://www.ruby-forum.com/t/win32-service-0-5-0/48934 "2005-11-27T02:51:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![djberg96](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/96bed5/32.png) [@djberg96](https://www.ruby-forum.com/u/djberg96)\
**Post date:** [November 27, 2005, 2:51am UTC](https://www.ruby-forum.com/t/win32-service-0-5-0/48934/1 "2005-11-27T02:51:18Z")

</div>

Hi all,

I’m happy to announce the release of win32-service 0.5.0

# What’s new?

The Daemon class now supports a service\_init hook. This was added to  
allow service writers to perform any long running initialization code  
that needs to happen before service\_main within the Daemon.

This was added when it was discovered that any initialization code that  
took more than 2 seconds would cause the service to fail on startup  
with a timeout error. Thanks go to Jamey C. for the spot and to  
Park H. for the patch.

# Where is it?

As usual, it’s on both the RAA and Rubyforge:

[http://rubyforge.org/projects/win32utils/](http://rubyforge.org/projects/win32utils/)  
[http://raa.ruby-lang.org/project/win32-service/](http://raa.ruby-lang.org/project/win32-service/)

Enjoy!

The Win32Utils Team
