similar to: Portable Daemon

Displaying 20 results from an estimated 2000 matches similar to: "Portable Daemon"

2006 Jun 18
7
[Fwd: Ruby Win32-Service]
Thoughts? Dan -------------- next part -------------- An embedded message was scrubbed... From: "Patrick Hurley" <phurley at gmail.com> Subject: Ruby Win32-Service Date: Sun, 18 Jun 2006 12:46:01 -0400 Size: 2863 Url: http://rubyforge.org/pipermail/win32utils-devel/attachments/20060618/cc346796/attachment.eml
2006 Jun 19
9
win32-service patch
Attached is a patch and my service.c if there is any difficulty applying the patch. I did the following: 1. Created a ruby thread (Ruby_Service_Ctrl), that polls against a simple integer value (protected by a critical section). I was worried this would be "expensive"; however, I found the rb_thread_polling method and it seems to work well. 2. When an event occurs in Service_Ctrl it
2006 May 22
9
win32/service... still with problems.
Hello list, In my quest to get Mongrel working as service for win32, found some problems with win32/service that make it impossible to solve. Attached is the simplest service script I could do with ruby, which depends on win32/service. I found that doing anything complex in service_stop (killing threads, doing file handling, even sleeping for 0.25 seconds). crash the service with backtraces (of
2007 Sep 12
2
RubyConf 2007?
Hi all, Is anyone on the list going to RubyConf this year? I don''t know yet if I''m going to go. I''m still thinking about it. Regards, Dan
2007 Sep 23
16
WinRuby?
Hi all, With the latest 1.8.6 release out today, I was wondering - what would you all think of a Windows-only fork of Ruby? I mean Perl has ActiveState, right? It ships with a slightly different interpreter and different libraries, so why not Ruby? Here''s what I''m thinking: * Win2k or later. No 95/98/ME support. No cygwin/mingw, either. * Assume VC++ 8. Use whatever
2005 Dec 01
1
service_cli.rb
Hi, I just 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
2006 Oct 26
2
The win32-service patch is committed - and now, some questions
Hi all, I *finally* committed the patch from Patrick Hurley (you know, the one he submitted way back in June). Looks like it works. I''ve also revamped the code under the examples directory. There''s now a tdaemon.rb (the test daemon) and tdaemon_ctl.rb (the test daemon controller). Before I release this into the wild I want to make sure I document how to use it properly.
2005 Sep 08
11
Stopping services
I''m back to getting stuff to run as a Windows service, and am running in to a problem. My service (a Daemon ruby class) installs and starts fine, but when I try to stop it, I get: C:\workspaces\default\tahoe>ruby script\service stop script/service:77:in `stop'': An exception occurred in the service when handling the control request. (Win32::ServiceError) from
2007 Sep 20
3
IO.read - binary by default?
Hi all, I''m sick of hitting bugs in 3rd party libs where the issue is that the authors didn''t do a binary read on the data. It''s hard to track down sometimes and it currently makes creating cross-platform code more difficult. Is there *any* downside to making IO.read binary by default (on Windows) that anyone can think of? Thanks, Dan
2006 Oct 26
5
[ win32utils-Patches-6335 ] pure ruby implementation
Patches item #6335, was opened at 2006-10-26 16:51 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=413&aid=6335&group_id=85 Category: win32-shortcut Group: None Status: Open Resolution: None Priority: 3 Submitted By: Jano Svitok (janek) Assigned to: Nobody (None) Summary: pure ruby implementation Initial Comment: This is (not finished) pure-ruby
2005 May 14
4
Problems with custom service and webrick
Hi all, Windows XP Pro Ruby 1.8.2 I''m having a couple of problems with the following service. The first issue is that the code in service_start doesn''t seem to fire off. The second problem is that any attempt to do ''require "webrick"'' within webrick_daemon.rb causes the service to fail on start. Any ideas? # webrickctl.rb
2007 Nov 09
2
RubyConf 2007 - Thoughts?
Hi, For those of you that attended RubyConf 2007, what were your impressions? Any more thoughts on JRuby, Rubinius, IronRuby or Wuby? Regards, Dan
2006 Dec 07
0
Fwd: win32-service problems with patch
Got this today. Please take a look and let me know what you think. - Dan ---------- Forwarded message ---------- From: Kevin Burge <kevin.burge at systemware.com> Date: Dec 7, 2006 6:45 AM Subject: win32-service problems with patch To: djberg96 at gmail.com Hi Daniel, Thanks for win32-service. In the process of using it for running a reliable-msg (drb) server and clients, I had some
2006 May 21
0
Mongrel as win32-service, round3.
Hello lists! This is not spam, but included the 2 lists (mongrel-users and win32utils-devel) because the both are involved. Attached is the 3rd version of a simple http_service script used previously to get the things right for the mongrel Rails service. With the modifications Zed implemented the past days (into the beta gem, 0.3.13). Now the service part works better. Still, a few things must
2006 Feb 20
1
Fwd: Win32::Daemon, Problems with service_stop
Anyone want to take a stab at this? I''ve brought it up before but it''s been a while. Dan Note: forwarded message attached. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An embedded message was scrubbed... From: "Luis
2007 Aug 07
0
[ win32utils-Bugs-12881 ] Cannot wait on Process - service_daemon/service_main
Bugs item #12881, was opened at 2007-08-07 19:17 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=12881&group_id=85 Category: win32-service Group: None Status: Open Resolution: None Priority: 3 Submitted By: John Leake (ozwaldtwistle) Assigned to: Nobody (None) Summary: Cannot wait on Process - service_daemon/service_main Initial Comment: First of
2014 Aug 23
2
CTDB 50.samba: ERROR: smb.conf cache create failed
Ubuntu 14.04, ctdb 2.5.1 from the ubuntu package. samba 4.1.11 with cluster support from source. Error upon startup only. Restarting ctdb on that node clears the error. The other node with the same config is OK. Any ideas? Cheers, Steve smb.conf [global] workgroup = ALTEA realm = ALTEA.SITE security = ADS kerberos method = secrets and keytab netbios name = SMBCLUSTER disable netbios = Yes
2006 Mar 16
1
Re: rcov 0.2.0 - code coverage tool for Ruby
On 3/14/06, David Holroyd <ruby-talk@badgers-in-foil.co.uk> wrote: > On Wed, Mar 15, 2006 at 02:23:04AM +0900, Mauricio Fernandez wrote: > > On Tue, Mar 14, 2006 at 09:27:14AM +0900, David Holroyd wrote: > > > On Wed, Mar 01, 2006 at 01:31:11AM +0900, Mauricio Fernandez wrote: > > > > Source code, additional information, screenshots... available at > >
2014 Jul 18
1
ctdb do not start nmbd if serving AD
ctdb 2.5.3 dual node file server with 4.1.9 serving AD domain Hi We have enabled the script at: /etc/cdb/events.d/50.samba but when we are the enabled node, it starts not only smbd but also nmbd. This doesn't make sense in an AD domain. I've tried disabling nmbd starting under openSUSE's systemd but ctdb overrides that, I've had a look at the script but can't decipher the bit
2004 Feb 06
0
Daemon method name changes
All, At the risk of annoying you all to death with seemingly trivial things, I was thinking that we should change a couple method names. I know that I myself had suggested "on_stop", "on_pause", etc, for the event hooks in the Daemon class. However, I think I will change those to "service_stop", "service_pause", etc. This isn''t a major issue,