about 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..90e14c9
--- /dev/null
+++ b/public/dispatch.fcgi
@@ -0,0 +1,6 @@
+#!/usr/bin/env perl
+use Plack::Handler::FCGI;
+
+my $app = do('/home/franck/code/projects/c/jitterbug/jitterbug.pl');
+my $server = Plack::Handler::FCGI->new(nproc  => 5, detach => 1);
+$server->run($app);