sidekiq_pid_file = "#{proxy.env['PID_DIR']}/sidekiq-#{name}.pid"
sidekiq_log_file = "log/#{name}.log"
-e #{proxy.env['RAILS_ENV']}
-c #{concurrency}
--pidfile #{sidekiq_pid_file}
--logfile #{sidekiq_log_file}
#{queues_param}).join(' ')
daemonize true
stop_signals [:USR1, 0, :TERM, 10.seconds, :KILL]
# Give the process some time for startup. Booting Rails can take some time.
# Ensure the CPU is below 100% the last 5 times checked.
# Ensure that the used memory is below the limit the last 5 times checked.
end
end
hets_pid_file = "#{proxy.env['PID_DIR']}/hets-#{port}.pid"
hets_log_file = "log/hets-#{port}.log"
daemonize true
stop_signals [:TERM, 10.seconds, :KILL]
# Give the process some time for startup.
# Ensure that Hets responds
times: 1,
end
end
"#{hets_executable} --server #{options.join(' ')}"
end
end
end