[dancer-users] Dancer2 deployment

Andrew Solomon andrew at geekuni.com
Sun Nov 29 00:28:09 GMT 2015


I suspect you're missing 'l' off the end of "local"
It should be

program      => '/usr/*local*/bin/starman',

rather than

program      => '/usr/*loca*/bin/starman',

Andrew

On Sun, Nov 29, 2015 at 12:22 AM, Richard Reina <gatorreina at gmail.com>
wrote:

> 2015-11-22 10:45 GMT-06:00 Andrew Solomon <andrew at geekuni.com>:
>
>> I think this tutorial of Gabor's is a very gentle introduction to
>> deployment:
>>
>> http://perlmaven.com/getting-started-with-perl-dancer-on-digital-ocean
>>
>> Andrew
>>
>>
> I am trying to get this to work but am having problems with
> daemon::control (I think).
>
> 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:
>
> program      => '/usr/loca/bin/starman',
> program_args => [ '--workers', '3', '/home/starman/Almlete-App/bin/ap\
> p.pgsi' ],
>
> in my starman.pl app the service starts but I get the follwing errors in
> /tmp/starman.err and dancer is not dancing at http://myip:5000
>
> 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.
> Failed to exec /usr/loca/bin/starman --workers 3
> /home/starman/Almlete-App/bin/ap\
> p.pgsi: No such file or directory at
> /usr/local/share/perl/5.20.2/Daemon/Control.pm line 348.
>
> Any help would be appreciated. Thanks
>
> _______________________________________________
> dancer-users mailing list
> dancer-users at dancer.pm
> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
>
>


-- 
Andrew Solomon

Mentor at Geekuni http://geekuni.com/
http://www.linkedin.com/in/asolomon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20151129/574ab5ca/attachment.html>


More information about the dancer-users mailing list