From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,99bddde2425f3f77,start X-Google-Attributes: gid1164f8,public From: frederic_bouquet@ascus.com (Frederic Bouquet) Subject: How to launch a demon ? Date: 1995/11/21 Message-ID: #1/1 X-Deja-AN: 120400640 organization: Cornut Informatique newsgroups: comp.sys.dec If I launch a demon from a root session, each time I loggout from this root session the demon is stopped automatically. I knew the nohup command, but in some cases it doesn't work. So I use to create from the root session a sub-shell, and then I launch my demon in this sub-shell. Once the demon has been launched, I can exit from the sub-shell and then exit from my session without problem, and the demon continue to run. I didn't notice such a problem on other Unix machine. So I would like to know is there is a flag to set or some thing like that to prevent a demon from being killed when the session ended without being forced to use nohup or create a sub shell. Many thanks Fred +------------------------------------+--------------------------+ | Frederic BOUQUET | Phone : (33) 77 93 57 46 | | Cornut Informatique | Fax : (33) 77 92 51 39 | | 24, rue de la Telematique - BP 702 | AppleLink : CORNUT.INF | | 42950 St Etienne cedex 9 FRANCE | Compuserve: 100303,1061 | | frederic_bouquet@ascus.com | | +------------------------------------+--------------------------+