1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Add a notice for systemd with socket path in release path (#1534)

This commit is contained in:
Jean-Philippe Doyle 2018-03-20 13:58:36 -04:00 committed by Nate Berkopec
parent 34a3790bc7
commit 22a9035542

View file

@ -102,6 +102,16 @@ for additional configuration details.
Note that the above configurations will work with Puma in either
single process or cluster mode.
### Sockets and symlinks
When using releases folders, you should set the socket path using the
shared folder path (ex. `/srv/projet/shared/tmp/puma.sock`), not the
release folder path (`/srv/projet/releases/1234/tmp/puma.sock`).
Puma will detect the release path socket as different than the one provided by
systemd and attempt to bind it again, resulting in the exception
`There is already a server bound to:`.
## Usage
Without socket activation, use `systemctl` as root (e.g. via `sudo`) as