2016-06-10 09:07:05 +02:00
|
|
|
#!/usr/bin/env python3
|
2011-05-01 19:09:02 +02:00
|
|
|
|
|
|
|
"""
|
|
|
|
Radicale FastCGI Example.
|
|
|
|
|
|
|
|
Launch a Radicale FastCGI server according to configuration.
|
|
|
|
|
2017-04-15 18:05:42 +02:00
|
|
|
This script relies on flup but can be easily adapted to use another
|
|
|
|
WSGI-to-FastCGI mapper.
|
|
|
|
|
2011-05-01 19:09:02 +02:00
|
|
|
"""
|
|
|
|
|
2017-04-15 18:05:42 +02:00
|
|
|
from flup.server.fcgi import WSGIServer
|
2018-04-20 22:53:42 +02:00
|
|
|
from radicale import application
|
2011-05-01 19:09:02 +02:00
|
|
|
|
2020-01-17 05:00:31 +01:00
|
|
|
if __name__ == "__main__":
|
|
|
|
WSGIServer(application).run()
|