1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/lib
Ewoud Kohl van Wijngaarden 288a4cf756
Add systemd notify and watchdog support (#2438)
* Adds systemd notification support

* Improve systemd notification support

This takes the work by @acmh and improves on it. This is done by
squashing all commits and rebasing it. Then the following changes were
made:

* Dropped SD_NOTIFY env var. There is aleady the NOTIFY_SOCKET env var
  presented by systemd and is redundant.
* Move code is pushed in Puma::Systemd
* on_reload now emits RELOADING=1 notification to systemd
* Drop lower bound check on usec. Systemd can only be configured in
  seconds and it's hard to misconfigure. The actual code should be safe.
* Clean up integration tests and skip on JRuby

Co-authored-by: Artur Montenegro <artur.montenegro@tempest.com.br>
2020-10-26 16:02:31 -06:00
..
puma Add systemd notify and watchdog support (#2438) 2020-10-26 16:02:31 -06:00
rack/handler Update .run method options param 2020-03-18 15:22:22 -04:00
puma.rb Add more @!attribute tags [skip ci] (#2385) 2020-09-25 12:50:57 -06:00