Skip to content

Commit

Permalink
rufo check
Browse files Browse the repository at this point in the history
  • Loading branch information
Ifiht committed Jan 31, 2024
1 parent 72a6291 commit 90c7737
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/lib/pm2_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@
require "io/console"
require "app_settings"


class Pm2Helper
core_config = AppSettings.new
beanstalk_host = core_config.get("beanstalk_host")
beanstalk_port = core_config.get("beanstalk_port")

def log(message)
$stdout.puts message
$stdout.flush
Expand All @@ -16,7 +15,7 @@ def log(message)
def processes
proc_list = JSON.parse(%x(pm2 jlist))
proc_names = Array.new
proc_list.each{ |e| proc_names << e["name"] }
proc_list.each { |e| proc_names << e["name"] }
return proc_names
end
end

0 comments on commit 90c7737

Please sign in to comment.