Skip to content

Commit

Permalink
It's expected that pgid to be setup for "foreground" running server…
Browse files Browse the repository at this point in the history
… rather than for "background".

So it should be changed to `set_pgid if foreground?`

See discussion [here](rails@e16e085#r18804964)
  • Loading branch information
kradima committed Nov 14, 2018
1 parent bd91b03 commit f68e247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/spring/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def boot
Spring.verify_environment

write_pidfile
set_pgid unless foreground?
set_pgid if foreground?
ignore_signals unless foreground?
set_exit_hook
set_process_title
Expand Down

0 comments on commit f68e247

Please sign in to comment.