vagrant-dnsdock-hostupdater 0.0.16 → 0.0.17

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d951f80be21ddd3806a1d67915ac5f024243c93a
4
- data.tar.gz: 9594437722a82084555200e3fa808a9d75c4a550
3
+ metadata.gz: 269617dd498b74e11079d82ba65ff677721c6257
4
+ data.tar.gz: a54f58d396de2349d1b1bdd2ac06d9161b1daa7c
5
5
  SHA512:
6
- metadata.gz: 78b17e8553daa876997b53a698045efbbafb3cc85a8a6fc4860f600c63dd9aab97976ae030b554366c823696ec67ad38c9d6296d7325ccf69a8f32bfa7b2ff0b
7
- data.tar.gz: 4b0740a1b7c7e9e42abf3d30183e255e35ccda8adb338618e4009b0e246432314107b2344ad88f9f86a6169fbf68ea891f54f5af3194f2fb2686fd2c352b6680
6
+ metadata.gz: d7e0a482ffe50db10347993e74d2b1fbe8efa53d6ce29d0fc951e0621386d87e341c22a872db1b062d30e02fd88780887c0f007cd37b2dd3875a09c34637013e
7
+ data.tar.gz: 8c78552b40c556790fe7f98b34883ec6e7bfb2f62e8f8c129607f7ebea42ded9425b90855e3d220cbd7eec79f392cdfad943b6b9105bc9d553176ed6a48ad3bb
@@ -70,12 +70,8 @@ module Vagrant
70
70
 
71
71
  close_manager
72
72
 
73
- pid = fork do
74
- exec "ruby #{server_path}"
75
- # pid = spawn "ruby #{server_path}"
76
- log "Started server with PID: #{pid}"
77
-
78
- end
73
+ pid = Process.daemon("ruby #{server_path}")
74
+ log "Started server with PID: #{pid}"
79
75
 
80
76
  if pid
81
77
  pid_file = File.open(pid_path, 'w')
@@ -84,8 +80,6 @@ module Vagrant
84
80
  log "Wrote server PID (#{pid}) to #{pid_path}"
85
81
  @started = true
86
82
  end
87
- Process.detach(pid)
88
-
89
83
  end
90
84
 
91
85
  action_hook(:up, :machine_action_up) { init_plugin }
data/lib/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Vagrant
2
2
  module DnsdockHostUpdater
3
- VERSION = '0.0.16'.freeze
3
+ VERSION = '0.0.17'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-dnsdock-hostupdater
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.16
4
+ version: 0.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Coit