| 1 | package FCGI::Engine::Manager::Server::FreeBSD6; | ||
| 2 | use Moose; | ||
| 3 | |||
| 4 | our $VERSION = '0.22'; | ||
| 5 | our $AUTHORITY = 'cpan:STEVAN'; | ||
| 6 | |||
| 7 | extends 'FCGI::Engine::Manager::Server'; | ||
| 8 | |||
| 9 | override 'construct_command_line' => sub { | ||
| 10 | my @command_line = super(); | ||
| 11 | pop @command_line; | ||
| 12 | return ( | ||
| 13 | "/usr/sbin/daemon", | ||
| 14 | "sh", "-c", | ||
| 15 | (join " " => @command_line) | ||
| 16 | ); | ||
| 17 | }; | ||
| 18 | |||
| 19 | 1; | ||
| 20 | |||
| 21 | __END__ |