nezu 0.5.19 → 0.5.20
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/VERSION +1 -1
- data/lib/nezu/cli.rb +3 -3
- metadata +1 -1
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.20
|
data/lib/nezu/cli.rb
CHANGED
@@ -29,10 +29,10 @@ module Nezu
|
|
29
29
|
puts %Q(Starting app...)
|
30
30
|
require 'nezu/runner'
|
31
31
|
Nezu::Runtime.load_config
|
32
|
-
if params[0].
|
33
|
-
$stdout=File.open(Nezu.root.join('log', 'nezu.stdout'), File::CREAT|File::WRONLY)
|
34
|
-
$stderr=File.open(Nezu.root.join('log', 'nezu.stderr'), File::CREAT|File::WRONLY)
|
32
|
+
if params[0].include?('--daemon')
|
35
33
|
fork do
|
34
|
+
$stdout=File.open(Nezu.root.join('log', 'nezu.stdout'), File::CREAT|File::WRONLY)
|
35
|
+
$stderr=File.open(Nezu.root.join('log', 'nezu.stderr'), File::CREAT|File::WRONLY)
|
36
36
|
Nezu::Runner.start
|
37
37
|
end
|
38
38
|
else
|