You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we load the Systemd integration if the NOTIFY_SOCKET is set.
It would be great to have the option to opt out of this, say if ENV["PUMA_SKIP_SYSTEMD"] is set.
In my case I'd like this because in one of my background daemons, I run Puma in a thread with Rack::Handler::Puma.run just as an interface to the daemon. However, since the daemon does way more that Puma doesn't know about, I deal with systemd integration elsewhere in that daemon. Currently I'm just monkeypatching the lines above to turn off the automatic Puma integration.
The text was updated successfully, but these errors were encountered:
So in
puma/lib/puma/launcher.rb
Lines 65 to 67 in a7e3d94
NOTIFY_SOCKET
is set.It would be great to have the option to opt out of this, say if
ENV["PUMA_SKIP_SYSTEMD"]
is set.In my case I'd like this because in one of my background daemons, I run Puma in a thread with
Rack::Handler::Puma.run
just as an interface to the daemon. However, since the daemon does way more that Puma doesn't know about, I deal with systemd integration elsewhere in that daemon. Currently I'm just monkeypatching the lines above to turn off the automatic Puma integration.The text was updated successfully, but these errors were encountered: