Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Creating a pidfile for mojolicious is giving an error errors

by beech (Parson)
on Nov 06, 2020 at 03:44 UTC ( #11123443=note: print w/replies, xml ) Need Help??


in reply to Creating a pidfile for mojolicious is giving an error errors

Hi,

See https://metacpan.org/pod/Mojo::Server::Hypnotoad#run, https://metacpan.org/pod/distribution/Mojolicious/lib/Mojolicious/Guides/Cookbook.pod#Hypnotoad

app->config( hypnotoad => { pid_file => 'goner-pid.txt', listen => ['http://*:80'], }, );

Replies are listed 'Best First'.
Re^2: Creating a pidfile for mojolicious is giving an error errors
by newperldeveloper (Sexton) on Nov 06, 2020 at 09:49 UTC
    Thank you for your help, I added pid_file to the config. I am not to really familiar with mojolicious.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11123443]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2021-04-10 15:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?