1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/lib/puma
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
..
app Refactor status.rb - dry it up a bit (#2450) 2020-10-25 14:49:38 -06:00
cluster Fix hang on shutdown in test_refork [changelog skip] (#2442) 2020-10-22 13:54:15 -06:00
minissl Adjust code for compiling without SSL (MRI & JRuby), add SSL detection 2020-09-14 12:20:00 -05:00
plugin Test cleanup and parallelization (#1846) 2019-07-16 18:53:28 -04:00
rack Remove daemonization (#2170) 2020-03-10 12:08:34 -06:00
binder.rb Remove accept_nonblock.rb, add test_integration_ssl.rb (#2448) 2020-10-25 16:15:20 -06:00
cli.rb Fix a bunch of test warnings 2020-05-11 13:21:24 +09:00
client.rb Add Client#io_ok?, check before Reactor#register (#2432) 2020-10-25 13:58:49 -06:00
cluster.rb Fix hang on shutdown in test_refork [changelog skip] (#2442) 2020-10-22 13:54:15 -06:00
commonlogger.rb fix: Update links to use TLS/SSL [ci skip] [changelog skip] 2020-08-14 00:20:07 +05:30
configuration.rb Revert "Revert "Adds configuration option to set max_fast_inline (#2406)"" 2020-10-26 15:59:30 -06:00
const.rb Ignore illegal response header (#2439) 2020-10-26 16:02:13 -06:00
control_cli.rb Documentation - add version info, misc fixes [ci skip] (#2368) 2020-09-17 09:15:19 -06:00
detect.rb Documentation - add version info, misc fixes [ci skip] (#2368) 2020-09-17 09:15:19 -06:00
dsl.rb Revert "Revert "Adds configuration option to set max_fast_inline (#2406)"" 2020-10-26 15:59:30 -06:00
error_logger.rb Fix error backtrace debug logging && Do not log request dump if it is not parsed (#2376) 2020-09-22 09:35:04 -06:00
events.rb Add systemd notify and watchdog support (#2438) 2020-10-26 16:02:31 -06:00
io_buffer.rb IOBuffer back to Ruby (#1980) 2020-02-27 13:50:34 -06:00
jruby_restart.rb Remove daemonization (#2170) 2020-03-10 12:08:34 -06:00
launcher.rb Add systemd notify and watchdog support (#2438) 2020-10-26 16:02:31 -06:00
minissl.rb Add more @!attribute tags [skip ci] (#2385) 2020-09-25 12:50:57 -06:00
null_io.rb improved rubocop config (#2152) 2020-03-07 08:15:43 -06:00
plugin.rb Nitpicks 2020-04-22 08:35:28 +09:00
queue_close.rb queue_close.rb - fix 'warning: instance variable @closed not initialized' on Ruby 2.2 2020-10-25 17:07:43 -05:00
rack_default.rb Test cleanup and parallelization (#1846) 2019-07-16 18:53:28 -04:00
reactor.rb queue_close.rb - refactor loading, move comment for docs (#2447) 2020-10-25 13:59:40 -06:00
request.rb Ignore illegal response header (#2439) 2020-10-26 16:02:13 -06:00
runner.rb Server - Consolidate option handling, small refactors, doc changes (#2389) 2020-09-29 07:12:47 -06:00
server.rb Revert "Revert "Adds configuration option to set max_fast_inline (#2406)"" 2020-10-26 15:59:30 -06:00
single.rb Server run thread safety fix [changelog skip] (#2435) 2020-10-20 07:26:16 -06:00
state_file.rb Minor: Add running_from to state_file 2020-05-23 19:27:51 +02:00
systemd.rb Add systemd notify and watchdog support (#2438) 2020-10-26 16:02:31 -06:00
thread_pool.rb Add more @!attribute tags [skip ci] (#2385) 2020-09-25 12:50:57 -06:00
util.rb Refactor: extract worker process into separate class [changelog skip] (#2374) 2020-09-29 07:21:52 -06:00