From fc6ef1625352c09a9ce547837cf2ce4ef68cef2b Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub Date: Tue, 9 Aug 2011 10:17:07 +0200 Subject: [PATCH] Clean the WSGI and FastCGI files, include them in the source tarball (closes #569) --- MANIFEST.in | 2 +- radicale.fcgi | 4 +--- radicale.wsgi | 3 +++ 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index 9e29026..b5fba3a 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1 +1 @@ -include COPYING NEWS TODO config +include COPYING NEWS TODO config logging radicale.fcgi radicale.wsgi diff --git a/radicale.fcgi b/radicale.fcgi index 42d8413..c1b6b1a 100755 --- a/radicale.fcgi +++ b/radicale.fcgi @@ -28,9 +28,7 @@ from flup.server.fcgi import WSGIServer import radicale -radicale.log.start(radicale.config.get("logging", "config")) +radicale.log.start() radicale.log.LOGGER.info("Starting Radicale FastCGI server") - WSGIServer(radicale.Application()).run() - radicale.log.LOGGER.info("Stopping Radicale FastCGI server") diff --git a/radicale.wsgi b/radicale.wsgi index 3f0d0dc..cec1f8c 100755 --- a/radicale.wsgi +++ b/radicale.wsgi @@ -23,4 +23,7 @@ Radicale WSGI file (mod_wsgi and uWSGI compliant). """ import radicale + + +radicale.log.start() application = radicale.Application()