search for: daemon_test

Displaying 7 results from an estimated 7 matches for "daemon_test".

Did you mean: daemon_list
2004 Feb 09
1
Curious pause/resume behavior
Hi all, While testing the pause/resume functionality with the daemon_test.rb script, I noticed this odd bit of behavior. It appears that sometimes, the pause command seems to actually stop the service. It doesn''t happen every time - just sometimes. Here is a bit of command line history to demonstrate: C:\eclipse\workspace\win32-service-0.4.0\test>ruby dae...
2004 Feb 02
4
Hooks for win32-service
Just trying to come up with hooks for win32-service. It looks like Perl''s Win32::Daemon defines these: start....................The service is starting. pause....................The service is entering a paused state. continue.................The service is resuming from a paused state. stop.....................The service is stopping running..................The service is running
2005 Sep 08
11
Stopping services
...ript/service:77 from script/service:76:in `call'' from script/service:88 Note that I only get this if the service has successfully made it in to service_main - if I stop it before that, it stops OK. I wanted to back up and see if the examples worked OK for me, so I ran daemon_test: C:\build\ruby\extensions\win32-service-0.4.6\examples>ruby daemon_test.rb install VERSION: 0.4.6 installed C:\build\ruby\extensions\win32-service-0.4.6\examples>ruby daemon_test.rb start VERSION: 0.4.6 Ok, started C:\build\ruby\extensions\win32-service-0.4.6\examples>ruby...
2004 Feb 06
1
Service pause and resume
I committed a new version of service.c and daemon_test.rb. Now you can pause and resume a Ruby service module. Regards, Park Heesob --MIME Multi-part separator--
2006 Aug 12
0
Following your Mongrel thread
....com> wrote: > Hello, Luis. I''ve been following your Mongrel thread here: > http://rubyforge.org/pipermail/mongrel-users/2006-May/000210.html > > I''m also running Win2K and have been trying to get Mongrel running as a > service, without much luck. I tried running daemon_test.rb like you said and > was able to get it to work, however, I had to add the lib directory to the > load path on the Ruby call, like so: > > ruby -I..\lib daemon_test.rb install > > Otherwise, I got an error about not being able to find win32/service. I''m > wondering i...
2006 May 10
7
Problems starting mongrel running a rails app as a service
Hi there I have a rails app that I want to run on a Win 2k server running Mongrel. I''ve downloaded the latest version and the win32-service gem and can run it with the mongrel_rails start -d command When I try to start the same app installed as a service I get the following error: "There was a problem starting the service: The service did not respond to the start or control
2004 Feb 10
0
TCPServer failure within daemon
I wanted to see if I could setup a simple echo server to run as a service. So, using daemon_test.rb, I modified the Daemon class to something like this: require "socket" class Daemon def initialize @server = TCPServer.new("localhost",8888) end def service_main while state == RUNNING while session = @server.accept str = session.get...