|
|
@ -19,7 +19,12 @@ $config->{'daemon.backend'} ||= 'hypnotoad'; |
|
|
|
$ENV{'PERL5LIB'} = 'lib'; |
|
|
|
$ENV{'PERL5LIB'} = 'lib'; |
|
|
|
|
|
|
|
|
|
|
|
if ($config->{'daemon.backend'} eq 'morbo'){ |
|
|
|
if ($config->{'daemon.backend'} eq 'morbo'){ |
|
|
|
exec ('/usr/bin/morbo', '-l', 'http://' . $config->{'daemon.listen_ip'} . ':' . $config->{'daemon.listen_port'}, '-w', 'conf/settings.ini', '-v', 'vroom.pl'); |
|
|
|
exec ('/usr/bin/morbo', |
|
|
|
|
|
|
|
'-l', 'http://' . $config->{'daemon.listen_ip'} . ':' . $config->{'daemon.listen_port'}, |
|
|
|
|
|
|
|
'-w', 'conf/settings.ini', |
|
|
|
|
|
|
|
'-w', 'lib', |
|
|
|
|
|
|
|
'-w', 'templates', |
|
|
|
|
|
|
|
'-v', 'vroom.pl'); |
|
|
|
} |
|
|
|
} |
|
|
|
else{ |
|
|
|
else{ |
|
|
|
exec ('/usr/bin/hypnotoad', '-f', 'vroom.pl'); |
|
|
|
exec ('/usr/bin/hypnotoad', '-f', 'vroom.pl'); |
|
|
|