X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=sima%2Flib%2Fdaemon.py;h=fa0997686ea4198f9c6550c8dea1474b40c81e74;hb=78a694ddcd2a6ecc8b2b1fd3c74ee2d938707305;hp=06f7beeae9a36e33459f3207a25f6fb75715f8af;hpb=300d9624d0c3bf2218a8df59eff689f5b78a2025;p=mpd-sima.git diff --git a/sima/lib/daemon.py b/sima/lib/daemon.py index 06f7bee..fa09976 100644 --- a/sima/lib/daemon.py +++ b/sima/lib/daemon.py @@ -1,5 +1,4 @@ # -*- coding: utf-8 -*- - # Public Domain # # Copyright 2007, 2009 Sander Marechal @@ -62,8 +61,8 @@ class Daemon(object): for details (ISBN 0201563177) Short explanation: - Unix processes belong to "process group" which in turn lies within a "session". - A session can have a controlling tty. + Unix processes belong to "process group" which in turn lies within a + "session". A session can have a controlling tty. Forking twice allows to detach the session from a possible tty. The process lives then within the init process. """