daemons 1.1.3 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README +1 -1
- data/Releases +5 -0
- data/lib/daemons.rb +1 -1
- data/lib/daemons/daemonize.rb +0 -3
- metadata +4 -4
data/README
CHANGED
data/Releases
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
= Daemons Release History
|
2
2
|
|
3
|
+
== Release 1.1.4: June 17, 2011
|
4
|
+
|
5
|
+
* Do not change the umask to 0000 when daemonizing anymore, just leave it as it
|
6
|
+
was (thanks to Jon Botelho).
|
7
|
+
|
3
8
|
== Release 1.1.3: April 14, 2011
|
4
9
|
|
5
10
|
* Fixed a bug in Application.stop: the cached pid number needs to
|
data/lib/daemons.rb
CHANGED
data/lib/daemons/daemonize.rb
CHANGED
@@ -116,7 +116,6 @@ module Daemonize
|
|
116
116
|
# NOTE: STDOUT and STDERR will not be redirected to the logfile, because in :ontop mode, we normally want to see the output
|
117
117
|
|
118
118
|
Dir.chdir "/" # Release old working directory
|
119
|
-
File.umask 0000 # Insure sensible umask
|
120
119
|
|
121
120
|
# Make sure all file descriptors are closed
|
122
121
|
ObjectSpace.each_object(IO) do |io|
|
@@ -173,7 +172,6 @@ module Daemonize
|
|
173
172
|
$0 = app_name if app_name
|
174
173
|
|
175
174
|
Dir.chdir "/" # Release old working directory
|
176
|
-
File.umask 0000 # Insure sensible umask
|
177
175
|
|
178
176
|
# Make sure all file descriptors are closed
|
179
177
|
ObjectSpace.each_object(IO) do |io|
|
@@ -223,7 +221,6 @@ module Daemonize
|
|
223
221
|
$0 = app_name if app_name
|
224
222
|
|
225
223
|
Dir.chdir "/" # Release old working directory
|
226
|
-
File.umask 0000 # Insure sensible umask
|
227
224
|
|
228
225
|
# Make sure all file descriptors are closed
|
229
226
|
ObjectSpace.each_object(IO) do |io|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: daemons
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 1.1.
|
9
|
+
- 4
|
10
|
+
version: 1.1.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Thomas Uehlinger
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-06-17 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|