mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Use proper path for unix socket on inheritance
This commit is contained in:
parent
187c6f8360
commit
3c2f091728
1 changed files with 3 additions and 2 deletions
|
@ -75,12 +75,13 @@ module Puma
|
|||
|
||||
@listeners << [str, io]
|
||||
when "unix"
|
||||
path = "#{uri.host}#{uri.path}"
|
||||
|
||||
if fd = @inherited_fds.delete(str)
|
||||
logger.log "* Inherited #{str}"
|
||||
io = inherit_unix_listener uri.path, fd
|
||||
io = inherit_unix_listener path, fd
|
||||
else
|
||||
logger.log "* Listening on #{str}"
|
||||
path = "#{uri.host}#{uri.path}"
|
||||
|
||||
umask = nil
|
||||
|
||||
|
|
Loading…
Reference in a new issue