You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
defrunbeginparse_optionsrescueUnsupportedOptionexit1endifdir=@options[:directory]Dir.chdirdirendset_rack_environmentifclustered?@events=PidEvents.newSTDOUT,STDERR@options[:logger]=@events@runner=Cluster.new(self)else@runner=Single.new(self)endsetup_signals@status=:run@runner.runcase@statuswhen:haltlog"* Stopping immediately!"when:run,:stopgraceful_stopwhen:restartlog"* Restarting..."@runner.before_restartrestart!when:exit# nothingendensure
$stdout.puts"delete_pidfile ensure"### THIS IS MY LINEdelete_pidfileend
What I get in output of bundle exec puma -C /var/www/falcon-web/current/config/puma.rb:
$ bundle exec puma -C /var/www/falcon-web/current/config/puma.rb'[13838] Puma starting in cluster mode...[13838] * Version 2.7.1, codename: Earl of Sandwich Partition[13838] * Min threads: 0, max threads: 8[13838] * Environment: staging[13838] * Process workers: 2[13838] * Preloading application[13838] * Listening on unix:///var/www/falcon-web/shared/tmp/sockets/puma.sock[13838] * Daemonizing...delete_pidfile ensuredelete_pidfile ensure
How is it possible to fix this issue?
The text was updated successfully, but these errors were encountered:
I have:
ruby 2.1.0
puma 2.7.1
Config:
After start of puma by command
bundle exec puma -C /var/www/falcon-web/current/config/puma.rb
it remove pid file.Added logging in parts of code (puma-2.7.1/lib/puma/cli.rb):
What I get in output of
bundle exec puma -C /var/www/falcon-web/current/config/puma.rb
:How is it possible to fix this issue?
The text was updated successfully, but these errors were encountered: