luban 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/luban/deployment/cli/service/controller.rb +3 -2
- data/lib/luban/deployment/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: 77397a73d48be8aae5e88c15751d2f31247d4ff5
|
4
|
+
data.tar.gz: 1d788a44466f84e9097d36e260e4b6613084de1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e027fee9981c212b57d31ba33779555b62d3f8b1c52b79859fcf5b64b842260c6e86d862f1ec10190292a134d133825fc8aaefac3c0ceb06f453ea21a25e83a
|
7
|
+
data.tar.gz: bf0792cd771f50f42c12fa1ac57b631f37bb5ca8d81e56aed4ac7b99f62a02ceeafefc1f7eb0f3a58231087e954fd524714b06437c82957a9992cc94f46bff2e
|
data/CHANGELOG.md
CHANGED
@@ -77,10 +77,10 @@ module Luban
|
|
77
77
|
if check_until { process_stopped? }
|
78
78
|
update_result "Stop #{service_full_name}: [OK] #{output}"
|
79
79
|
else
|
80
|
-
remove_orphaned_pid_file
|
81
80
|
update_result "Stop #{service_full_name}: [FAILED] #{output}",
|
82
81
|
status: :failed, level: :error
|
83
82
|
end
|
83
|
+
remove_orphaned_pid_file
|
84
84
|
end
|
85
85
|
|
86
86
|
def restart_process
|
@@ -88,6 +88,7 @@ module Luban
|
|
88
88
|
unmonitor_process
|
89
89
|
output = stop_process!
|
90
90
|
if check_until { process_stopped? }
|
91
|
+
remove_orphaned_pid_file
|
91
92
|
info "Stop #{service_full_name}: [OK] #{output}"
|
92
93
|
else
|
93
94
|
remove_orphaned_pid_file
|
@@ -125,11 +126,11 @@ module Luban
|
|
125
126
|
unmonitor_process
|
126
127
|
output = kill_process!
|
127
128
|
if check_until { process_stopped? }
|
128
|
-
remove_orphaned_pid_file
|
129
129
|
update_result "Kill #{service_full_name}: [OK] #{output}"
|
130
130
|
else
|
131
131
|
update_result "Kill #{service_full_name}: [FAILED] #{output}"
|
132
132
|
end
|
133
|
+
remove_orphaned_pid_file
|
133
134
|
end
|
134
135
|
|
135
136
|
def process_monitor_defined?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: luban
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rubyist Lei
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: luban-cli
|