summary refs log tree commit diff
path: root/public/dispatch.fcgi
diff options
context:
space:
mode:
Diffstat (limited to 'public/dispatch.fcgi')
-rwxr-xr-xpublic/dispatch.fcgi6
1 files changed, 6 insertions, 0 deletions
diff --git a/public/dispatch.fcgi b/public/dispatch.fcgi
new file mode 100755
index 0000000..559f2b7
--- /dev/null
+++ b/public/dispatch.fcgi
@@ -0,0 +1,6 @@
+#!/home/franck/local/bin/perl
+use Plack::Handler::FCGI;
+
+my $app = do('/home/franck/tmp/dancerREST/app.psgi');
+my $server = Plack::Handler::FCGI->new(nproc  => 5, detach => 1);
+$server->run($app);