godhead 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/godhead/god_recipe.rb +6 -0
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.8
|
data/lib/godhead/god_recipe.rb
CHANGED
@@ -72,6 +72,7 @@ module Godhead
|
|
72
72
|
watcher.gid = options[:gid] if options[:gid]
|
73
73
|
watcher.env = options[:env] if options[:env]
|
74
74
|
watcher.log = process_log_file
|
75
|
+
watcher.err_log = process_err_log_file
|
75
76
|
watcher.interval = options[:default_interval]
|
76
77
|
watcher.start_grace = options[:start_grace_time]
|
77
78
|
watcher.restart_grace = options[:restart_grace_time] || (options[:start_grace_time] + 2.seconds)
|
@@ -222,6 +223,11 @@ module Godhead
|
|
222
223
|
File.join(options[:process_log_dir], handle+".log")
|
223
224
|
end
|
224
225
|
|
226
|
+
# Default error log filename.
|
227
|
+
def process_err_log_file
|
228
|
+
process_log_file
|
229
|
+
end
|
230
|
+
|
225
231
|
# create any directories required by the process
|
226
232
|
def mkdirs!
|
227
233
|
require 'fileutils'
|