Skip to content

Commit

Permalink
explain how the hypnotoad script works
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Nov 1, 2013
1 parent 113649b commit a0a2038
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,5 +1,5 @@

4.54 2013-10-31
4.54 2013-11-01

4.53 2013-10-30
- Fixed a few unsubscribe and error event bugs in Mojo::EventEmitter.
Expand Down
7 changes: 5 additions & 2 deletions lib/Mojo/Server/Hypnotoad.pm
Expand Up @@ -169,6 +169,9 @@ loop and hot deployment support that just works. Note that the server uses
signals for process management, so you should avoid modifying signal handlers
in your applications.
For L<Mojolicious> and L<Mojolicious::Lite> applications it will default to
C<production> mode.
To start applications with it you can use the L<hypnotoad> script.
$ hypnotoad myapp.pl
Expand All @@ -179,8 +182,8 @@ You can run the same command again for automatic hot deployment.
$ hypnotoad myapp.pl
Starting hot deployment for Hypnotoad server 31841.
For L<Mojolicious> and L<Mojolicious::Lite> applications it will default to
C<production> mode.
This second invocation will load the application again, detect the process id
file with it, and send a C<USR2> signal to the already running server.
For better scalability (epoll, kqueue) and to provide IPv6 as well as TLS
support, the optional modules L<EV> (4.0+), L<IO::Socket::IP> (0.16+) and
Expand Down

0 comments on commit a0a2038

Please sign in to comment.