unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Patryk Kotarski <patryk.kotarski@iubenda.com>
To: unicorn-public@bogomips.org
Subject: Question about shared directory
Date: Tue, 6 Aug 2019 10:52:54 +0200	[thread overview]
Message-ID: <A9FCC000-428C-4F55-BB60-C6C8C955F8B9@iubenda.com> (raw)

Hello, dear unicorn devs,

Quick question which I failed to find in previous issues on your archive and through search engines.

Is there any specific reason for which many guides online suggest saving the “unicorn.sock” file into the shared_directory ? We’re running deploys through Capistrano and on recent updates we noticed that we had configured unicorn.sock to be stored in "[environment]/shared/sockets/unicorn.sock" and we do not understand the reason for it

Examples:

- https://www.digitalocean.com/community/tutorials/how-to-deploy-a-rails-app-with-unicorn-and-nginx-on-ubuntu-14-04
- https://www.linode.com/docs/development/ror/use-unicorn-and-nginx-on-ubuntu-14-04/

Greetings,
Patryk

             reply	other threads:[~2019-08-06  8:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-06  8:52 Patryk Kotarski [this message]
2019-08-06 14:00 ` Question about shared directory Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://yhbt.net/unicorn/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A9FCC000-428C-4F55-BB60-C6C8C955F8B9@iubenda.com \
    --to=patryk.kotarski@iubenda.com \
    --cc=unicorn-public@bogomips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhbt.net/unicorn.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).