daemons 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README +1 -1
- data/Releases +4 -0
- data/lib/daemons.rb +1 -1
- data/lib/daemons/monitor.rb +3 -1
- metadata +2 -2
data/README
CHANGED
data/Releases
CHANGED
data/lib/daemons.rb
CHANGED
data/lib/daemons/monitor.rb
CHANGED
@@ -33,6 +33,8 @@ module Daemons
|
|
33
33
|
else
|
34
34
|
@pid = PidMem.new
|
35
35
|
end
|
36
|
+
|
37
|
+
@app_name = an_app.group.app_name + '_monitor'
|
36
38
|
end
|
37
39
|
|
38
40
|
def watch(applications)
|
@@ -59,7 +61,7 @@ module Daemons
|
|
59
61
|
|
60
62
|
def start_with_pidfile(applications)
|
61
63
|
fork do
|
62
|
-
Daemonize.daemonize
|
64
|
+
Daemonize.daemonize(nil, @app_name)
|
63
65
|
|
64
66
|
begin
|
65
67
|
@pid.pid = Process.pid
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
|
|
3
3
|
specification_version: 1
|
4
4
|
name: daemons
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.0.
|
7
|
-
date: 2006-
|
6
|
+
version: 1.0.3
|
7
|
+
date: 2006-11-02 00:00:00 +01:00
|
8
8
|
summary: A toolkit to create and control daemons in different ways
|
9
9
|
require_paths:
|
10
10
|
- lib
|