<div dir="ltr">I suspect you're missing 'l' off the end of "local"<div>It should be </div><div><br></div><div><span style="font-size:12.8px">program      => '/usr/<b>local</b>/bin/starman',</span><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">rather than</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">program      => '/usr/<b>loca</b>/bin/starman',</span><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Andrew</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 29, 2015 at 12:22 AM, Richard Reina <span dir="ltr"><<a href="mailto:gatorreina@gmail.com" target="_blank">gatorreina@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="">2015-11-22 10:45 GMT-06:00 Andrew Solomon <span dir="ltr"><<a href="mailto:andrew@geekuni.com" target="_blank">andrew@geekuni.com</a>></span>:<br></span><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I think this tutorial of Gabor's is a very gentle introduction to deployment:</div><div><br></div><a href="http://perlmaven.com/getting-started-with-perl-dancer-on-digital-ocean" target="_blank">http://perlmaven.com/getting-started-with-perl-dancer-on-digital-ocean</a><br><div><br></div><div>Andrew</div></div><div class="gmail_extra"><div><div><br></div></div></div></blockquote></span></div><br></div><div class="gmail_extra">I am trying to get this to work but am having problems with daemon::control (I think).<br><br></div><div class="gmail_extra">When I execute /usr/local/bin/starman --workers 3 /home/starman/Almslete-App/bin/app.psgi from the command line it works and dancer app is dancing. But with:<br><br>program      => '/usr/loca/bin/starman',<br>program_args => [ '--workers', '3', '/home/starman/Almlete-App/bin/ap\<br>p.pgsi' ],<br><br></div><div class="gmail_extra">in my <a href="http://starman.pl" target="_blank">starman.pl</a> app the service starts but I get the follwing errors in /tmp/starman.err and dancer is not dancing at <a href="http://myip:5000" target="_blank">http://myip:5000</a><br><br>Can't exec "/usr/loca/bin/starman": No such file or directory at /usr/local/share/perl/5.20.2/Daemon/Control.pm line 348.<br>Failed to exec /usr/loca/bin/starman --workers 3 /home/starman/Almlete-App/bin/ap\<br>p.pgsi: No such file or directory at /usr/local/share/perl/5.20.2/Daemon/Control.pm line 348.<br><br></div><div class="gmail_extra">Any help would be appreciated. Thanks<br></div></div>
<br>_______________________________________________<br>
dancer-users mailing list<br>
<a href="mailto:dancer-users@dancer.pm">dancer-users@dancer.pm</a><br>
<a href="http://lists.preshweb.co.uk/mailman/listinfo/dancer-users" rel="noreferrer" target="_blank">http://lists.preshweb.co.uk/mailman/listinfo/dancer-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Andrew Solomon<div><br></div><div>Mentor@Geekuni <a href="http://geekuni.com/" target="_blank">http://geekuni.com/</a></div><div><a href="http://www.linkedin.com/in/asolomon" target="_blank">http://www.linkedin.com/in/asolomon</a><br></div></div></div>
</div>