daemons 1.0.6 → 1.0.7
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/examples/run/ctrl_proc.rb.output +101 -0
- data/examples/run/myserver_crashing.rb.output +15 -0
- data/lib/daemons.rb +1 -1
- data/lib/daemons/application.rb +2 -1
- metadata +4 -2
data/README
CHANGED
data/Releases
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
= Daemons Release History
|
2
2
|
|
3
|
+
== Release 1.0.7: July 7, 2007
|
4
|
+
|
5
|
+
* Patch to fix wrong ARGV when using :exec (in def start_exec: Kernel.exec(script(), *(@app_argv || []))) (thanks to Alex McGuire).
|
6
|
+
|
3
7
|
== Release 1.0.6: Mai 8, 2007
|
4
8
|
|
5
9
|
* New option to pass an ARGV-style array to run and run_proc (thanks to Marc Evans).
|
@@ -0,0 +1,101 @@
|
|
1
|
+
ping from proc!
|
2
|
+
ping from proc!
|
3
|
+
ping from proc!
|
4
|
+
ping from proc!
|
5
|
+
ping from proc!
|
6
|
+
ping from proc!
|
7
|
+
ping from proc!
|
8
|
+
ping from proc!
|
9
|
+
ping from proc!
|
10
|
+
ping from proc!
|
11
|
+
ping from proc!
|
12
|
+
ping from proc!
|
13
|
+
ping from proc!
|
14
|
+
ping from proc!
|
15
|
+
ping from proc!
|
16
|
+
ping from proc!
|
17
|
+
ping from proc!
|
18
|
+
ping from proc!
|
19
|
+
ping from proc!
|
20
|
+
ping from proc!
|
21
|
+
ping from proc!
|
22
|
+
ping from proc!
|
23
|
+
ping from proc!
|
24
|
+
ping from proc!
|
25
|
+
ping from proc!
|
26
|
+
ping from proc!
|
27
|
+
ping from proc!
|
28
|
+
ping from proc!
|
29
|
+
ping from proc!
|
30
|
+
ping from proc!
|
31
|
+
ping from proc!
|
32
|
+
ping from proc!
|
33
|
+
ping from proc!
|
34
|
+
ping from proc!
|
35
|
+
ping from proc!
|
36
|
+
ping from proc!
|
37
|
+
ping from proc!
|
38
|
+
ping from proc!
|
39
|
+
ping from proc!
|
40
|
+
ping from proc!
|
41
|
+
ping from proc!
|
42
|
+
ping from proc!
|
43
|
+
ping from proc!
|
44
|
+
ping from proc!
|
45
|
+
ping from proc!
|
46
|
+
ping from proc!
|
47
|
+
ping from proc!
|
48
|
+
ping from proc!
|
49
|
+
ping from proc!
|
50
|
+
ping from proc!
|
51
|
+
ping from proc!
|
52
|
+
ping from proc!
|
53
|
+
ping from proc!
|
54
|
+
ping from proc!
|
55
|
+
ping from proc!
|
56
|
+
ping from proc!
|
57
|
+
ping from proc!
|
58
|
+
ping from proc!
|
59
|
+
ping from proc!
|
60
|
+
ping from proc!
|
61
|
+
ping from proc!
|
62
|
+
ping from proc!
|
63
|
+
ping from proc!
|
64
|
+
ping from proc!
|
65
|
+
ping from proc!
|
66
|
+
ping from proc!
|
67
|
+
ping from proc!
|
68
|
+
ping from proc!
|
69
|
+
ping from proc!
|
70
|
+
ping from proc!
|
71
|
+
ping from proc!
|
72
|
+
ping from proc!
|
73
|
+
ping from proc!
|
74
|
+
ping from proc!
|
75
|
+
ping from proc!
|
76
|
+
ping from proc!
|
77
|
+
ping from proc!
|
78
|
+
ping from proc!
|
79
|
+
ping from proc!
|
80
|
+
ping from proc!
|
81
|
+
ping from proc!
|
82
|
+
ping from proc!
|
83
|
+
ping from proc!
|
84
|
+
ping from proc!
|
85
|
+
ping from proc!
|
86
|
+
ping from proc!
|
87
|
+
ping from proc!
|
88
|
+
ping from proc!
|
89
|
+
ping from proc!
|
90
|
+
ping from proc!
|
91
|
+
ping from proc!
|
92
|
+
ping from proc!
|
93
|
+
ping from proc!
|
94
|
+
ping from proc!
|
95
|
+
ping from proc!
|
96
|
+
ping from proc!
|
97
|
+
ping from proc!
|
98
|
+
ping from proc!
|
99
|
+
ping from proc!
|
100
|
+
ping from proc!
|
101
|
+
ping from proc!
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/home/uehli/Desktop/daemons-current/examples/myserver_crashing.rb:13: CRASH! (RuntimeError)
|
2
|
+
from /home/uehli/Desktop/daemons-current/examples/myserver_crashing.rb:6:in `loop'
|
3
|
+
from /home/uehli/Desktop/daemons-current/examples/myserver_crashing.rb:6
|
4
|
+
from /home/uehli/Desktop/daemons-current/lib/daemons.rb:116:in `load'
|
5
|
+
from /home/uehli/Desktop/daemons-current/lib/daemons.rb:116:in `run_via_load'
|
6
|
+
from /home/uehli/Desktop/daemons-current/lib/daemons.rb:90:in `start'
|
7
|
+
from /home/uehli/Desktop/daemons-current/lib/daemons.rb:359:in `run'
|
8
|
+
from /home/uehli/Desktop/daemons-current/lib/daemons.rb:469:in `run'
|
9
|
+
from /home/uehli/Desktop/daemons-current/lib/daemons.rb:468:in `call'
|
10
|
+
from /home/uehli/Desktop/daemons-current/lib/daemons/cmdline.rb:94:in `catch_exceptions'
|
11
|
+
from /home/uehli/Desktop/daemons-current/lib/daemons.rb:468:in `run'
|
12
|
+
from ctrl_crash.rb:17
|
13
|
+
ping from myserver.rb!
|
14
|
+
this example server will crash in 3 seconds...
|
15
|
+
CRASH!
|
data/lib/daemons.rb
CHANGED
data/lib/daemons/application.rb
CHANGED
@@ -106,7 +106,8 @@ module Daemons
|
|
106
106
|
ENV['DAEMONS_ARGV'] = @controller_argv.join(' ')
|
107
107
|
# haven't tested yet if this is really passed to the exec'd process...
|
108
108
|
|
109
|
-
Kernel.exec(script(), *
|
109
|
+
Kernel.exec(script(), *(@app_argv || []))
|
110
|
+
#Kernel.exec(script(), *ARGV)
|
110
111
|
end
|
111
112
|
|
112
113
|
def start_load
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
|
|
3
3
|
specification_version: 1
|
4
4
|
name: daemons
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.0.
|
7
|
-
date: 2007-
|
6
|
+
version: 1.0.7
|
7
|
+
date: 2007-07-07 00:00:00 +02:00
|
8
8
|
summary: A toolkit to create and control daemons in different ways
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -66,9 +66,11 @@ files:
|
|
66
66
|
- examples/run/ctrl_ontop.rb
|
67
67
|
- examples/run/ctrl_optionparser.rb
|
68
68
|
- examples/run/ctrl_proc.rb
|
69
|
+
- examples/run/ctrl_proc.rb.output
|
69
70
|
- examples/run/ctrl_proc_simple.rb
|
70
71
|
- examples/run/myserver.rb
|
71
72
|
- examples/run/myserver_crashing.rb
|
73
|
+
- examples/run/myserver_crashing.rb.output
|
72
74
|
- examples/run/myserver_exiting.rb
|
73
75
|
test_files:
|
74
76
|
- test/tc_main.rb
|