Do it before the systemd service's timeout is reached
This commit is contained in:
@@ -38,6 +38,8 @@ plugin :tmp_restart
|
|||||||
# Run the Solid Queue supervisor inside of Puma for single-server deployments
|
# Run the Solid Queue supervisor inside of Puma for single-server deployments
|
||||||
plugin :solid_queue if ENV["SOLID_QUEUE_IN_PUMA"]
|
plugin :solid_queue if ENV["SOLID_QUEUE_IN_PUMA"]
|
||||||
|
|
||||||
|
force_shutdown_after 25
|
||||||
|
|
||||||
# Specify the PID file. Defaults to tmp/pids/server.pid in development.
|
# Specify the PID file. Defaults to tmp/pids/server.pid in development.
|
||||||
# In other environments, only set the PID file if requested.
|
# In other environments, only set the PID file if requested.
|
||||||
pidfile ENV["PIDFILE"] if ENV["PIDFILE"]
|
pidfile ENV["PIDFILE"] if ENV["PIDFILE"]
|
||||||
|
|||||||
Reference in New Issue
Block a user