Skip to content

Commit

Permalink
fix update phased restart symlink folder
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilbhatt committed Dec 23, 2023
1 parent 83c5b32 commit d32e670
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/puma/launcher.rb
Expand Up @@ -165,6 +165,13 @@ def phased_restart
log "* phased-restart called but not available, restarting normally."
return restart
end

if @options.file_options[:tag].nil?
dir = File.realdirpath(@restart_dir)
@options[:tag] = File.basename(dir)
set_process_title
end

true
end

Expand Down

0 comments on commit d32e670

Please sign in to comment.