flydata 0.6.9 → 0.6.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 16f0956a2f93fb80b343aad9cc666b31be940fff
4
- data.tar.gz: c93ace41da167ae076f34d2af86f7e8327c09e33
3
+ metadata.gz: 4433b846f5fae0015e2e74d437d7a5eaedefd2b0
4
+ data.tar.gz: 2c2200d275fe32d66fa73fa435cf86a6a6b3af1e
5
5
  SHA512:
6
- metadata.gz: 843824aae08e0cfc4131b27d16fbfaaeeacb284c45a4457c9d64f7b9a3b3c870317a13b3b89f077210b7c36a8b600cb1b4a8b5bbb4fab7483639071e066f935e
7
- data.tar.gz: cf33ab366fc6c25f3d92e76a216ae725af0e5b1b5aea277132b73bdd53d2e83dcf9b797f063fc1cc6c16f0d05e62d0293f31a0db9c2e587b16fb138eb72b286c
6
+ metadata.gz: eaa62d4f488ee2ff8ca485002f19766011901025388f2ec2af354d7052942eb45c48d75240a3538f6bf5ec3cf1f03205d1612093907d3b74c50f7e6d711b402e
7
+ data.tar.gz: 7e189040dd501676029432c0e2f22fb2e68f76dc6e5bfd28fea65e77b951278d013c13ecdfcfce50ddaf127e3883fe6d4b9a58bfd3935c7d5c6cfbb095f2b84c
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.9
1
+ 0.6.10
Binary file
@@ -110,8 +110,8 @@ EOF
110
110
  log_info_stdout('Restarting sender process.') unless options[:quiet]
111
111
  begin
112
112
  stop(options)
113
- rescue
114
- log_warn_stderr 'Something has gone wrong... force stopping the FlyData process...'
113
+ rescue => e
114
+ log_warn_stderr "Something has gone wrong. Force stopping the FlyData process. error:#{e.to_s}"
115
115
  kill_all(options)
116
116
  end
117
117
  else
@@ -132,7 +132,7 @@ EOF
132
132
  `[ -f #{pid_file} ] && pgrep -P \`cat #{pid_file}\``.to_i > 0
133
133
  end
134
134
  def kill_all(options = {})
135
- if Kernel.system("ps ax | grep 'flydata' | grep -v grep | grep fluentd | awk '{print \"kill \" $1}' | sh")
135
+ if Kernel.system("ps x | grep 'flydata' | grep -v grep | grep fluentd | awk '{print \"kill -9 \" $1}' | sh")
136
136
  log_info_stdout("Done.") unless options[:quiet]
137
137
  return true
138
138
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flydata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.9
4
+ version: 0.6.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Koichi Fujikawa
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2016-02-20 00:00:00.000000000 Z
15
+ date: 2016-02-22 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rest-client