-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Description
When starting a rails app with thrust rails server, waiting for startup and then sending a SIGTERM using kill -15 <thrust pid> it exits with code 255.
When running just rails server without thrust it exits with code 143, which is the expected code for a succesful SIGTERM shutdown.
I've replicated this with the default app generated by rails new.
The logs I get when sending the SIGTERM are:
{"time":"2026-01-17T11:33:05.964931Z","level":"INFO","msg":"Relaying signal to upstream process","signal":"terminated"}
- Gracefully stopping, waiting for requests to finish
Exiting
{"time":"2026-01-17T11:33:05.978965Z","level":"INFO","msg":"Server stopping"}
{"time":"2026-01-17T11:33:05.979483Z","level":"INFO","msg":"Server stopped"}
Thanks
Metadata
Metadata
Assignees
Labels
No labels