summaryrefslogtreecommitdiff
path: root/cherrypy/__main__.py
diff options
context:
space:
mode:
Diffstat (limited to 'cherrypy/__main__.py')
-rwxr-xr-xcherrypy/__main__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/cherrypy/__main__.py b/cherrypy/__main__.py
new file mode 100755
index 00000000..b1c9c012
--- /dev/null
+++ b/cherrypy/__main__.py
@@ -0,0 +1,4 @@
+import cherrypy.daemon
+
+if __name__ == '__main__':
+ cherrypy.daemon.run()