Displaying 2 results from an estimated 2 matches for "service_c".
Did you mean:
service_
2005 Dec 01
1
service_cli.rb
...got done using win32/service to run a very small/hack-ish "Riki"
WEBrick service. Very cool stuff. Thanks.
So, in the process, I noticed a lot of the "control" start/install/etc.
command line parser stuff looked a bit boilerplate, so I pulled it out into
a helper function "service_cli" (for lack of a better name).
Its simple, but it allows me to do away with a Riki-specific control script.
So I can just do:
riki.rb:
----
$LOAD_PATH.unshift File.dirname(__FILE__)
require ''service_cli''
class RikiDaemon < Win32::Daemon
def self.setup(s)
s.binar...
2006 Dec 07
0
Fwd: win32-service problems with patch
...schedule service_stop thread
wait for ruby threads wait for hStopCompleted exit
set hStopCompleted wait for hStopCompleted
wait for Thred 2 to exit set SERVICE_STOPPED && exit
close hStopEvent && exit
http://www.systemware.com/
? service_c.patch
Index: lib/win32/service.c
===================================================================
RCS file: /var/cvs/win32utils/win32utils/win32-service/lib/win32/service.c,v
retrieving revision 1.67
diff -u -u -r1.67 service.c
--- lib/win32/service.c 25 Nov 2006 16:58:41 -0000 1.67
+++ lib...