diff options
author | hellekin <hellekin@cepheide.org> | 2020-10-06 15:15:10 +0200 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2020-10-06 15:15:10 +0200 |
commit | 34ee674c79fb1e3d9b89c66df483b48e8a507f4f (patch) | |
tree | 296c7003c2c9aafe8effb458aaad757fcca0f80f | |
parent | ef3985b22cbc5b0185d83ca10b7ec8663e6fb65b (diff) | |
download | incommon-map-34ee674c79fb1e3d9b89c66df483b48e8a507f4f.tar.gz |
Add better integration with systemd
-rw-r--r-- | Gemfile | 1 | ||||
-rw-r--r-- | Gemfile.lock | 5 | ||||
-rw-r--r-- | config/puma.rb | 2 |
3 files changed, 8 insertions, 0 deletions
@@ -9,6 +9,7 @@ gem 'rails', '~> 6.0.3', '>= 6.0.3.2' gem 'pg', '>= 0.18', '< 2.0' # Use Puma as the app server gem 'puma', '~> 4.1' +gem 'puma-plugin-systemd' # Use SCSS for stylesheets gem 'sass-rails', '>= 6' # Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker diff --git a/Gemfile.lock b/Gemfile.lock index 449493a..224b6dc 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -82,6 +82,7 @@ GEM concurrent-ruby (~> 1.0) jbuilder (2.10.1) activesupport (>= 5.0.0) + json (2.3.1) listen (3.2.1) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) @@ -110,6 +111,9 @@ GEM pry (>= 0.10.4) puma (4.3.6) nio4r (~> 2.0) + puma-plugin-systemd (0.1.5) + json + puma (>= 3.6, < 5) rack (2.2.3) rack-proxy (0.6.5) rack @@ -202,6 +206,7 @@ DEPENDENCIES pry pry-rails puma (~> 4.1) + puma-plugin-systemd rails (~> 6.0.3, >= 6.0.3.2) sass-rails (>= 6) spring diff --git a/config/puma.rb b/config/puma.rb index b31c6d3..41e7344 100644 --- a/config/puma.rb +++ b/config/puma.rb @@ -53,3 +53,5 @@ preload_app! # Allow puma to be restarted by `rails restart` command. plugin :tmp_restart +# Better integration with systemd +plugin :systemd |