svutil 0.9.5 → 0.9.6

Sign up to get free protection for your applications and to get access to all the features.
data/lib/svutil.rb CHANGED
@@ -6,5 +6,5 @@ require 'svutil/log'
6
6
  require 'svutil/process_manager'
7
7
 
8
8
  module SVUtil
9
- VERSION = '0.9.5'
9
+ VERSION = '0.9.6'
10
10
  end
@@ -21,10 +21,9 @@ module SVUtil
21
21
  end
22
22
 
23
23
  def start
24
+ daemonize if @config.daemon
25
+ write_pid_file
24
26
  begin
25
- # TODO: Daemonize will call exit in the main process resulting in an unexpected log entry (even though it forks)
26
- daemonize if @config.daemon
27
- write_pid_file
28
27
  @server_instance.run
29
28
  rescue SystemExit => e
30
29
  shutdown("System Exited")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: svutil
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.5
4
+ version: 0.9.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-04 00:00:00.000000000Z
12
+ date: 2012-01-05 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: newgem
16
- requirement: &70183734200680 !ruby/object:Gem::Requirement
16
+ requirement: &70142618238040 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 1.5.3
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70183734200680
24
+ version_requirements: *70142618238040
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: hoe
27
- requirement: &70183734199780 !ruby/object:Gem::Requirement
27
+ requirement: &70142618237180 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '2.12'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70183734199780
35
+ version_requirements: *70142618237180
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rdoc
38
- requirement: &70183729865820 !ruby/object:Gem::Requirement
38
+ requirement: &70142616883180 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '3.10'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70183729865820
46
+ version_requirements: *70142616883180
47
47
  description: A simple managed process builder for Ruby projects
48
48
  email:
49
49
  - daniel@netfox.com