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

25 commits

Author SHA1 Message Date
Kitten King
f89f194dcb Fix Typos (#1859) 2019-07-22 10:33:19 -04:00
Adam Schwartz
09895cb29e Fix checking pid existence condition branches 2018-09-18 15:18:57 +02:00
hoshino tsuyoshi
9aea96eaf3 ps -p will check correctly whether $PID exists (#1545)
It is appropriate to use `ps -p` in that place.

Under certain conditions, existing code ``[ "`ps -A -o pid=
| grep -c $PID`" -eq 0 ]`` may behave incorrectly.

For example, if the content of $PID happens to be a short string
(such as `199`), and another process includes the string
(process such as `2199`), then unfortunately `grep -c` will return
positive number even if `199` is not running.
2018-03-28 07:00:30 -06:00
Jean-Philippe Doyle
286cb05029 Add warning about init.d being replaced by systemd (#1533)
And move init.d last in the documentation.

Using init.d script in a systemd environment will work for jobs start/stop, but restart will not be managed as expected with old init.d system. This may cause confusion, pain and a lot of systemd search time.
2018-03-27 16:53:03 -06:00
Manabu Ejima
efc2620c62 Fix the order of redirects (#1511)
Redirect from stderr to stdout should be before redirect to a log file
2018-03-19 15:46:55 -06:00
Vasiliy
42126a23d4 Support for rvm (#1198) 2017-01-30 10:43:22 -07:00
Patrycjusz R. Łogiewa
2252eafdbd stub description files updated 2016-09-21 13:27:47 +02:00
Michael Sauter
cfa301bb7e Fix Puma start
+start+ did not read the environment variables. However, e.g. +phased-restart+
did. Also +start+ was implemented quite differently from other actions.

Now +start+ is implemented like the other actions, it respects environment
variables and there's a lot less code duplication going on.
2016-08-29 14:36:27 +02:00
Evan Phoenix
25741358fd Merge pull request #1052 from michaelsauter/task/document-env-vars
Document usage of environment variables
2016-08-18 09:43:38 -07:00
Michael Sauter
86b8da2c28 Document usage of environment variables 2016-08-18 17:09:00 +02:00
Michael Sauter
82ae583245 Add phased-restart to usage of one puma 2016-08-18 16:57:47 +02:00
Evan Phoenix
7dfd7fa54a Merge pull request #977 from snow/master
NEW: add phased-restart support to init.d script
2016-05-09 18:52:24 -07:00
Snow Helsing
b7161cd9e5 ENH: detection of rbenv path 2016-05-03 15:48:06 +08:00
Snow Helsing
17673bab20 FIX: typo 2016-05-03 15:48:06 +08:00
Snow Helsing
73333b6025 CHG: init rbenv in run-puma 2016-05-03 15:47:56 +08:00
Vipul A M
bf4a846007 Fix typos at couple of places. 2016-04-07 23:54:45 +05:30
Snow Helsing
e855144da8 CHG: provide both hot and phased restart in jungle script 2016-02-07 22:16:34 +08:00
Snow Helsing
c87a733d50 FIX: rbenv init when it's installed to /usr/local/rbenv 2015-10-07 17:38:58 +08:00
Snow Helsing
02204bd27a CHG: apply config_bundler() to all commands 2015-09-29 18:23:46 +08:00
Snow Helsing
e8124d3c25 FIX: also call config_bundler in do_start 2015-08-31 16:20:44 +08:00
Snow Helsing
c7dd2d6b93 CHG: make jungle for init.d support rbenv 2015-08-29 16:32:59 +08:00
Krzysztof Wilczynski
266540cec3 Add the ability to pass environment variables to the init script (for Jungle).
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2014-11-27 15:57:47 +00:00
indi
21095d7d71 fix typo in README.md
in the README path to log file was pointing to /path/to/app/config/log/puma.log instead of /path/to/app/log/puma.log
2014-11-15 12:20:45 +01:00
Trent Ogren
5c8dda2991 Fix Puma daemon service README typo 2014-04-09 14:12:06 -05:00
Darío Javier Cravero
0fa28f9d1f Moved init.d implementation to its own folder and added basic upstart support 2013-03-09 18:18:03 -03:00