Run the application --hypnotoad
The hypnotoad command is a command to run an application using Mojo::Server::Hypnotoad, a prefolk server built into Mojolicious. hypnotoad is provided for deploying applications in production.
Launch application
hypnotoad myapp.pl
If you want to describe the application settings, write a file called "hypnotoad.conf".
hypnotoad.conf
Stop application
Use the stop option to stop the application.
hypnotoad myapp.pl --stop
Hot deployment
Hot deployment is a technology that allows you to replace software without stopping your application. You can perform hot deployment by running the side hypnotoad command while the application is running.
hypnotoad myapp.pl