From e617a7b88e4126073c7a9dac439682bfeb8440bc Mon Sep 17 00:00:00 2001 From: "roberto@debian32" Date: Tue, 30 Aug 2011 12:08:22 +0200 Subject: [PATCH] added an example for the new fd-based config --- fdconf.pl | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 fdconf.pl diff --git a/fdconf.pl b/fdconf.pl new file mode 100644 index 00000000..1adc79db --- /dev/null +++ b/fdconf.pl @@ -0,0 +1,7 @@ +use POSIX; + +open CONFIG,'welcome.ini'; + +dup2(fileno(CONFIG), 17); + +exec './uwsgi','--ini','fd://17';