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.