-
-
Save hesco/8d5399fb636f24c34829 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tracking this through the debugger gets me as far as this line: | |
Mojo::Server::Hypnotoad::run(local/lib/perl5/Mojo/Server/Hypnotoad.pm:31): | |
die "Can't exec: $!" if !$ENV{HYPNOTOAD_REV}++ && !exec $ENV{HYPNOTOAD_EXE}; | |
so I tried running the exec in the debugger and it kill'd the debugger. | |
My environment includes: | |
MOJO_MODE=dev | |
PERL5LIB=lib:local/lib/perl5: | |
----- | |
This is my script/tfc | |
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use TFC; | |
use FindBin; | |
BEGIN { | |
unshift @INC, '/opt/local/mojo/lib/perl5'; | |
unshift @INC, "$FindBin::Bin/../lib"; | |
unshift @INC, "$FindBin::Bin/../local"; | |
} | |
# Start command line interface for application | |
require Mojolicious::Commands; | |
my $listen_socket = TFC::parse_listen_socket_from_config_file(); | |
Mojolicious::Commands->start_app('TFC', 'daemon', '-l', "http://*:$listen_socket" ); | |
----- | |
Any advice would be appreciated. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment