Skip to content

Commit

Permalink
Merge pull request #59 from default50/process_matcher_fix
Browse files Browse the repository at this point in the history
Improve process name check
  • Loading branch information
yubangxi committed May 4, 2016
2 parents 65ace85 + ea39cb8 commit b9862ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def stop
end

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

def handle_pid_file
Expand Down

0 comments on commit b9862ae

Please sign in to comment.