Commit 796caf25 authored by Daniel STAN's avatar Daniel STAN

daemon.py: petit debug

parent e0a0fb60
......@@ -22,7 +22,11 @@ def run():
conn.close()
# fork en arrière plan + pidfile
if __name__ == "__main__":
if '-fg' in sys.argv:
run()
exit()
# do the UNIX double-fork magic, see Stevens' "Advanced
# Programming in the UNIX Environment" for details (ISBN 0201563177)
try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment