process_controller 0.1.0 → 0.1.1
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/lib/control/version.rb +1 -1
- data/lib/control_helper.rb +4 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec1991052356f30ceba58b1d6e8274bd70916660
|
4
|
+
data.tar.gz: d3efc108c94d479d9879c0c10d8039209cdf0da6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85c70535d03d7f67a5517a30b11085345cce8d8e66025e3a74d7df245673cc416bfa956c4363e4b471905eba54bd1e9a0f76086c0facff374836fbc5c0a26403
|
7
|
+
data.tar.gz: a07e714a3e6a363809f910f784b10d654554c13bf8be7804267fb3791052d3341bbc127f7fae56afb27a8304b9c0eb3a548cf933e69cdab6ec688f558b858324
|
data/lib/control/version.rb
CHANGED
data/lib/control_helper.rb
CHANGED
@@ -114,7 +114,10 @@ module ControlHelper
|
|
114
114
|
def app_not_running?(options)
|
115
115
|
pid_filename = options.fetch(Control_P::OPTIONS_ATTRIBUTES[:pid_filename], nil)
|
116
116
|
raise "no pid filename found in #{options}" if pid_filename.nil?
|
117
|
-
|
117
|
+
p "working directory is #{Dir.pwd}"
|
118
|
+
res = `cat #{pid_filename}`
|
119
|
+
p "result from cat master_pid is #{res}"
|
120
|
+
'' == res
|
118
121
|
end
|
119
122
|
|
120
123
|
def kill_with_retries!(options)
|