fluentd-ui 0.3.3 → 0.3.5
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 +4 -4
- data/ChangeLog +8 -0
- data/Gemfile.lock +1 -1
- data/lib/fluentd-ui/command.rb +8 -1
- data/lib/fluentd-ui/version.rb +1 -1
- 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: 31a5daad29a8463b88a212ae6543356d2ba0d8d9
|
|
4
|
+
data.tar.gz: b360bd00c43239f4d0c8c4c335da2fb0b0627e2a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f6edb3f1b462c351960ea137d5cfaee137f9992b9c93d65b0194d99050aee2627f960a34e0b09d5bcc7ffb237fc440394b65d3508ba3491ade47ad360a955277
|
|
7
|
+
data.tar.gz: cf4d6b0f5dd0f00ccc26d3a0fbcac85bd0b6f272b1c389bd0df83fe49a79168e8d225742f6d78e49c97557b0877b4b59a9e35863fd8452f650f1e1857464b910
|
data/ChangeLog
CHANGED
data/Gemfile.lock
CHANGED
data/lib/fluentd-ui/command.rb
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
require "active_support"
|
|
2
|
+
require "active_support/core_ext"
|
|
3
|
+
|
|
1
4
|
module FluentdUI
|
|
2
5
|
class Command < Thor
|
|
3
6
|
ROOT = File.expand_path('../../../', __FILE__)
|
|
@@ -9,7 +12,11 @@ module FluentdUI
|
|
|
9
12
|
option :daemonize, type: :boolean, default: false
|
|
10
13
|
def start
|
|
11
14
|
trap(:INT) { puts "\nStopping..." }
|
|
12
|
-
|
|
15
|
+
# NOTE: on Debian based distributions, td-agent uses start-stop-daemon with --exec option for stopping process
|
|
16
|
+
# then fluentd-ui will be killed by them because given --exec option matches.
|
|
17
|
+
# FLUENTD_UI_EXEC_COMMAND is used for workaround it.
|
|
18
|
+
cmd = ENV['FLUENTD_UI_EXEC_COMMAND'].presence || "rackup"
|
|
19
|
+
system(* %w(bundle exec) + cmd.split(" ") + %W(#{options[:daemonize] ? "-D" : ""} --pid #{options[:pidfile]} -p #{options[:port]} -E production #{ROOT}/config.ru))
|
|
13
20
|
end
|
|
14
21
|
|
|
15
22
|
|
data/lib/fluentd-ui/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fluentd-ui
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Masahiro Nakagawa
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2014-11-
|
|
12
|
+
date: 2014-11-12 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: fluentd
|