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

13 commits

Author SHA1 Message Date
Patrik Ragnarsson
43d1c06b4f
Remove daemonization trace in docs [ci skip] (#2197)
Remove link to docs that were removed in 636732c447

Close #2196
2020-03-23 12:33:41 +09:00
Nate Berkopec
636732c447
Remove daemonization (#2170)
* Remove daemonization

* Fix t2 integration
2020-03-10 12:08:34 -06:00
Geremia Taglialatela
098dc6838b Add a note about wrapper scripts and sockets
Any wrapper scripts which `exec`, or other indirections in
`ExecStart`, may result in activated socket file descriptors being closed
before they reach the puma master process. For example, if using `bundle exec`,
pass the `--keep-file-descriptors` flag.

`bundle exec` can be avoided by using a `puma` executable generated by
`bundle binstubs puma`.

This commit also remove a couple of trailing whitespaces

Ref: #1499
2019-04-21 11:14:47 +02:00
Evan Phoenix
b25ee64153
Merge pull request #1644 from MichalRemis/patch-1
Update systemd.md
2019-02-19 17:12:02 -08:00
Michal Remis
4f3b8c53c4
Update systemd.md
With previous configuration `pumactl restart` would't work. It would stop puma instead of restarting if it was started by systemd before. This also occurs when capistrano restarts puma after deploy.
2018-09-11 00:42:48 +02:00
Ubuntu
765c125e41 Docs update. Using a configuration file should be prioritized higher than inline options. Added example Rails configuration to the variants. Linked to Ubuntu setup from deployment docs. 2018-06-24 08:17:28 +00:00
Jean-Philippe Doyle
22a9035542 Add a notice for systemd with socket path in release path (#1534) 2018-03-20 11:58:36 -06:00
David Kellum
31b02825d3 Additional docs/systemd refinements (3) (#1373)
* docs/systemd: consistent <WD> replacement messaging

* Note that socket activation doesn't work on jruby

github: puma/puma#1367
2017-07-19 09:43:45 -06:00
Maurizio De Santis
b494bdafad Add missing WorkingDirectory directive (#1370)
Add missing `WorkingDirectory` directive in Alternative Forking Configuration template
2017-07-17 13:58:25 -06:00
David Kellum
5814e39b0e Additional docs/systemd refinements (#1329)
* More docs/systemd refinements

 * Section renamed Alternative Forking Configuration with explanation
   given for when to use this.
 * capistrano3-puma in sub-section with consolidated dry-run shell
   commands
 * Section Service Configuration contrasts and references Forking
   section
 * Streamline config samples and highlight using ini format

* More intro to docs/systemd, alt forking section

* Add docs/systemd link to tools/jungle/README, for parity

* Add systemd, alt-forking Always and WantedBy

* Add another link to systemd from README, capistrano section

* minor typo
2017-06-26 17:27:31 -04:00
Maurizio De Santis
13434ac998 Add background process configuration (#1172)
I found that the configuration proposed doesn't fit very well when Puma is daemonized, that is a common situation when Capistrano is used for deployment. I added my configuration which seems to work pretty well together with the default capistrano3-puma gem settings.
2016-12-12 09:53:28 -07:00
David Kellum
3a2de57b51 docs/system.md sample config refinements and elaborations
* A few tweaks to socket activation config
* Add systemctl command usage
2016-04-07 09:03:51 -07:00
David Kellum
ca246f963b Add docs/systemd.md (with socket activation sub-section) 2016-04-01 14:53:25 -07:00