mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 09:42:36 +02:00
preload_app prevents graceful restarts of code changes
This commit is contained in:
parent
70f2057854
commit
bd43c38753
1 changed files with 4 additions and 3 deletions
|
@ -31,7 +31,8 @@ Rainbows! do
|
||||||
stderr_path "/var/log/neocities/neocities.log"
|
stderr_path "/var/log/neocities/neocities.log"
|
||||||
stdout_path "/var/log/neocities/neocities.log"
|
stdout_path "/var/log/neocities/neocities.log"
|
||||||
|
|
||||||
preload_app true
|
# preload_app does not restart with code changes, so we turn it off.
|
||||||
|
preload_app false
|
||||||
|
|
||||||
before_fork do |server, worker|
|
before_fork do |server, worker|
|
||||||
old_pid = "/var/run/neocities/neocities.pid.oldbin"
|
old_pid = "/var/run/neocities/neocities.pid.oldbin"
|
||||||
|
|
Loading…
Add table
Reference in a new issue