Permalink
Browse files

site change

  • Loading branch information...
1 parent c797022 commit 6e753f4ecb869e94ee3cd1186e26309724ef2911 @technige technige committed May 5, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 www/site.py
View
@@ -9,6 +9,8 @@
from creole import creole2html
+from grizzled.os import daemonize
+
WWW = os.path.dirname(__file__)
ROOT = os.path.join(WWW, "..")
@@ -70,6 +72,7 @@ def get(self, name):
port = 8080
else:
port = int(sys.argv[1])
+ daemonize()
application.listen(port)
tornado.ioloop.IOLoop.instance().start()

0 comments on commit 6e753f4

Please sign in to comment.