forked from mojolicious/mojo
-
Notifications
You must be signed in to change notification settings - Fork 0
Hypnotoad prefork web server
yuki-kimoto edited this page Mar 1, 2011
·
13 revisions
Mojo::Server::Hypnotoad is built-in prefork web server in production environment. hypnotoad is command line interface to run Mojolicious application by Mojo::Server::Hypnotoad.
Note that Mojo::Server::Hypnotoad and hypnotoad is EXPERIMENTAL and might be changed without warnings.
Start Server.
hypnotoad myapp.plServer start on port 8080 by default. you can access it from web browser.
http://localhost:8080Process ID file is created in the same directory.
hypnotoad.pidIf you want to stop server immediately, send TERM signal to server porcess ID which is saved in pid file.
cat hypnotoad.pid | xargs kill -TERM