Skip to content
This repository
Browse code

added --signal-on-term for S::S 0.12

  • Loading branch information...
commit a9c404bff503f77c96d07c4b4f5554d09f808034 1 parent 8d6efd2
Tatsuhiko Miyagawa authored

Showing 2 changed files with 8 additions and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  Makefile.PL
  2. +7 0 bin/starman
2  Makefile.PL
@@ -17,7 +17,7 @@ requires 'HTTP::Date';
17 17 requires 'parent';
18 18 requires 'Test::TCP', 1.11;
19 19 install_script 'bin/starman';
20   -recommends 'Server::Starter';
  20 +recommends 'Server::Starter', 0.12;
21 21 recommends 'Net::Server::SS::PreFork';
22 22 test_requires 'Test::Requires';
23 23 author_tests('xt');
7 bin/starman
@@ -212,6 +212,13 @@ received C<HUP>, i.e:
212 212
213 213 start_server --port 8080 --signal-on-hup=QUIT -- starman --preload-app myapp.psgi
214 214
  215 +You will then send the HUP signal to C<start_server> process to
  216 +gracefully reload the starman cluster (master and workers).
  217 +
  218 +With Server::Starter 0.12 or later, you should also be able to set
  219 +C<--signal-on-term> to QUIT so that you can safely shutdown Starman
  220 +first and then stop the C<start_server> daemon process as well.
  221 +
215 222 =item TTIN, TTOU
216 223
217 224 Sending C<TTIN> signal to the master process will dynamically increase

0 comments on commit a9c404b

Please sign in to comment.
Something went wrong with that request. Please try again.