Browse files

GIve pratical example of Server::Starter usage

Signed-off-by: Pedro Melo <melo@simplicidade.org>
  • Loading branch information...
1 parent 612405f commit 9be58a4bb7cfe471ef6ae27c2a58ffb9a9ddc4fa @melo melo committed May 26, 2011
Showing with 10 additions and 1 deletion.
  1. +10 −1 lib/Twiggy.pm
View
11 lib/Twiggy.pm
@@ -63,7 +63,16 @@ late 2009.
=item Superdaemon aware
-Supports L<Server::Starter> for hot deploy and graceful restarts.
+Supports L<Server::Starter> for hot deploy and
+graceful restarts.
+
+To use it, instead of the usual:
+
+ plackup --server Twiggy --port 8111 app.psgi
+
+install L<Server::Starter> and use:
+
+ start_server --port 8111 plackup --server Twiggy app.psgi
=back

0 comments on commit 9be58a4

Please sign in to comment.