From 427561e5ae9bc07585aa727e7d73bd8ebe2315ad Mon Sep 17 00:00:00 2001 From: kidhab Date: Tue, 25 Oct 2022 09:17:23 +0200 Subject: [PATCH] Add sd_notify. Puma supports systemd's Type=notify and watchdog service --- Gemfile | 1 + Gemfile.lock | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Gemfile b/Gemfile index a46969fc..a6e27fae 100644 --- a/Gemfile +++ b/Gemfile @@ -41,6 +41,7 @@ gem 'acts_as_tree' gem 'rails-settings-cached', '= 0.4.3' # caching breaks tests until Rails 5 https://github.com/huacnlee/rails-settings-cached/issues/73 gem 'resque' gem 'puma' +gem 'sd_notify' gem 'whenever', require: false # For defining cronjobs, see config/schedule.rb gem 'ruby-units' gem 'attribute_normalizer' diff --git a/Gemfile.lock b/Gemfile.lock index f01b6163..f7696df0 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -465,6 +465,7 @@ GEM sprockets (> 3.0) sprockets-rails tilt + sd_notify (0.1.1) select2-rails (4.0.13) simple-navigation (3.14.0) activesupport (>= 2.3.2) @@ -623,6 +624,7 @@ DEPENDENCIES ruby-prof ruby-units sass-rails + sd_notify select2-rails simple-navigation (~> 3.14.0) simple-navigation-bootstrap