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 +4 -4
- data/VERSION +1 -1
- data/flydata.gemspec +0 -0
- data/lib/flydata/command/sender.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4433b846f5fae0015e2e74d437d7a5eaedefd2b0
|
4
|
+
data.tar.gz: 2c2200d275fe32d66fa73fa435cf86a6a6b3af1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eaa62d4f488ee2ff8ca485002f19766011901025388f2ec2af354d7052942eb45c48d75240a3538f6bf5ec3cf1f03205d1612093907d3b74c50f7e6d711b402e
|
7
|
+
data.tar.gz: 7e189040dd501676029432c0e2f22fb2e68f76dc6e5bfd28fea65e77b951278d013c13ecdfcfce50ddaf127e3883fe6d4b9a58bfd3935c7d5c6cfbb095f2b84c
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.10
|
data/flydata.gemspec
CHANGED
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
|
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
|
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.
|
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-
|
15
|
+
date: 2016-02-22 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: rest-client
|