mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Add rubocop to our build. (#5004)
This commit is contained in:
2
bin/puma
2
bin/puma
@@ -12,7 +12,7 @@ if ARGV[0] == '--kill-existing'
|
||||
pids = `ps aux | grep puma | grep discourse | grep -v grep | awk '{print $2;}'`.strip
|
||||
.split("\n")
|
||||
.map(&:to_i)
|
||||
.reject{|pid| pid == Process.pid}
|
||||
.reject { |pid| pid == Process.pid }
|
||||
|
||||
if pids.length > 0
|
||||
STDERR.puts "Terminating old version of puma at pid #{pids[0]}"
|
||||
|
||||
Reference in New Issue
Block a user