godhead 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/godhead/god_recipe.rb +6 -0
  3. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.7
1
+ 0.0.8
@@ -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'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: godhead
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philip (flip) Kromer, Dhruv Bansal, Carl Knutson