From 0d354a4a52669ebe21492209348beaafe39496b5 Mon Sep 17 00:00:00 2001 From: Nate Berkopec Date: Thu, 1 Oct 2020 07:35:57 -0600 Subject: [PATCH] Hacktoberfest spam grammar nitpciks --- docs/deployment.md | 7 +++---- docs/systemd.md | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/deployment.md b/docs/deployment.md index 29d1b4a2..dd5b95cc 100644 --- a/docs/deployment.md +++ b/docs/deployment.md @@ -1,4 +1,4 @@ -# Deployment engineering for puma +# Deployment engineering for Puma Puma is software that is expected to be run in a deployed environment eventually. You can certainly use it as your dev server only, but most people look to use @@ -7,12 +7,11 @@ it in their production deployments as well. To that end, this is meant to serve as a foundation of wisdom how to do that in a way that increases happiness and decreases downtime. -## Specifying puma +## Specifying Puma Most people want to do this by putting `gem "puma"` into their Gemfile, so we'll go ahead and assume that. Go add it now... we'll wait. - Welcome back! ## Single vs Cluster mode @@ -20,7 +19,7 @@ Welcome back! Puma was originally conceived as a thread-only webserver, but grew the ability to also use processes in version 2. -To run puma in single mode (e.g. for a development environment) you will need to +To run `puma` in single mode (e.g. for a development environment) you will need to set the number of workers to 0, anything above will run in cluster mode. Here are some rules of thumb for cluster mode: diff --git a/docs/systemd.md b/docs/systemd.md index 91770157..08d310fe 100644 --- a/docs/systemd.md +++ b/docs/systemd.md @@ -76,7 +76,7 @@ pass the `--keep-file-descriptors` flag. `bundle exec` can be avoided by using a `puma` executable generated by `bundle binstubs puma`. This is tracked in [#1499]. -**Note:** Socket activation doesn't currently work on jruby. This is +**Note:** Socket activation doesn't currently work on JRuby. This is tracked in [#1367]. To use socket activation, configure one or more `ListenStream` sockets