Rework entrypoints
This commit is contained in:
parent
b4230c4249
commit
41f8368c7e
@ -13,5 +13,5 @@ WSGI-to-FastCGI mapper.
|
||||
from flup.server.fcgi import WSGIServer
|
||||
from radicale import application
|
||||
|
||||
|
||||
WSGIServer(application).run()
|
||||
if __name__ == "__main__":
|
||||
WSGIServer(application).run()
|
||||
|
@ -7,6 +7,7 @@ Launch the server according to configuration and command-line options.
|
||||
|
||||
"""
|
||||
|
||||
import radicale.__main__
|
||||
import runpy
|
||||
|
||||
radicale.__main__.run()
|
||||
if __name__ == "__main__":
|
||||
runpy.run_module("radicale", run_name="__main__")
|
||||
|
@ -1,5 +1,3 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
"""
|
||||
Radicale WSGI file (mod_wsgi and uWSGI compliant).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user