docker_toolkit 0.1.18 → 0.1.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/docker_toolkit/runner.rb +11 -0
- data/lib/docker_toolkit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc743640766da2fbed5f66e532fa6a41b1581d731d65e32cda14bfccff399491
|
4
|
+
data.tar.gz: 44004a6a32b55a6c4cb7d764dd03d4c4961c1b38389811c64f688523f161b090
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b03174458ba29be5cbefa222aab71b565ce0cdea16ba3a4e3bc188aa849e14eea7d251e0a609660b1c5575e0a4edc9c3dfd5008a4027944af10308f7f856285a
|
7
|
+
data.tar.gz: 8524574068f9289bbbd377f11b0877fbe8994b5e2eae2b1ce78bcd90059703bd56e8d8bb7c1204ba068646273fc7f704cb249a0bbadf749e1b3ab6e931dc56ea
|
data/Gemfile.lock
CHANGED
@@ -6,6 +6,17 @@ module DockerToolkit
|
|
6
6
|
|
7
7
|
module Runner
|
8
8
|
|
9
|
+
def init_service service
|
10
|
+
STDOUT.sync = true
|
11
|
+
STDERR.sync = true
|
12
|
+
|
13
|
+
puts "Starting #{service}..."
|
14
|
+
|
15
|
+
trap('EXIT') do
|
16
|
+
puts "Stopping #{service}..."
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
9
20
|
def error(message)
|
10
21
|
STDERR.puts "Error: #{message}"
|
11
22
|
end
|