Skip to content

Commit b9862ae

Browse files
committed
Merge pull request #59 from default50/process_matcher_fix
Improve process name check
2 parents 65ace85 + ea39cb8 commit b9862ae

File tree

1 file changed

+1
-1
lines changed
  • vendor/gems/process_manager-0.0.13/lib/process_manager

1 file changed

+1
-1
lines changed

vendor/gems/process_manager-0.0.13/lib/process_manager/master.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def stop
163163
end
164164

165165
def process_matcher(pid)
166-
File.read("/proc/#{pid}/cmdline").include?("codedeploy")
166+
File.read("/proc/#{pid}/cmdline").include?("codedeploy-agent: master")
167167
end
168168

169169
def handle_pid_file

0 commit comments

Comments
 (0)