Add sd_notify gem to allow puma to notify systemd about readiness
This adds an optional gem sd_notify, which, when available, allows puma to notify systemd about having finished its startup. This allows puma to be Type=notify instead of Type=simple in its service file.
Showing
... | ... | @@ -186,6 +186,7 @@ gem 'rack-timeout', '~> 0.5.1', require: 'rack/timeout/base' |
group :puma do | ||
gem 'puma', '~> 5.3.1', require: false | ||
gem 'puma_worker_killer', '~> 0.3.1', require: false | ||
gem 'sd_notify', '~> 0.1.0', require: false | ||
end | ||
# State machine | ||
... | ... |
Please register or sign in to comment