[Win32utils-devel] Stopping services
Berger, Daniel
Daniel.Berger at qwest.com
Fri Sep 9 12:18:47 EDT 2005
> -----Original Message-----
> From: win32utils-devel-bounces at rubyforge.org
> [mailto:win32utils-devel-bounces at rubyforge.org] On Behalf Of
> Nathaniel Talbott
> Sent: Friday, September 09, 2005 7:49 AM
> To: Development and ideas for win32utils projects
> Subject: Re: [Win32utils-devel] Stopping services
>
>
> On 9/8/05, Berger, Daniel <Daniel.Berger at qwest.com> wrote:
>
> > It was never resolved, but it seemed to be harmless. Yes,
> it raised
> > an error, but the service does stop. Not ideal, but liveable.
>
> FYI, I also can't seem to get it to call my #service_stop
> method, which I'm guessing is related. Have you had the same problem?
Upon further review, things seem to be working fine. :/
I installed, ran, and stopped the sample (Abba) service. Here was the
log output:
service is running as of: Fri Sep 09 10:15:39 Mountain Daylight Time
2005
service is running as of: Fri Sep 09 10:15:42 Mountain Daylight Time
2005
service is running as of: Fri Sep 09 10:15:45 Mountain Daylight Time
2005
stop signal received: Fri Sep 09 10:15:48 Mountain Daylight Time 2005
service is running as of: Fri Sep 09 10:15:48 Mountain Daylight Time
2005
service_main left
It didn't hang when I stopped (which I tried from both the command line
and the Services GUI). And, as you can see, it definitely picked up the
stop event.
What version of Windows and win32-service are you running? And how did
you build it?
Dan
More information about the win32utils-devel
mailing list