Summary: Starting a daemon process

From: Andreas Hoeschler <ahoesch_at_smartsoft.de>
Date: Tue Dec 10 2002 - 19:11:36 EST
Hi all,

thanks a lot for all your feedback. The response to this question was 
overwhelming. Most of you suggested to use nohup or screen. This did not 
work for me out of the box. I finally wrote a wrapper script

#!/bin/bash
/bin/MyFirstProcess >/dev/null 2>&1 &
/bin/MySecondProcess >/dev/null 2>&1 &

and called that with

nohup startAllMyStuff &

This works like a charm!

Thanks a lot,

   Andreas


>> this is probably a stupid question. Anyway, I did not find an answer 
>> on my own so far. How can start a command line process using a telnet 
>> or ssh session on a remote host and then logout (end the session) 
>> without killing this process? I tried
>>
>> 	/bin/MyProcess &
>>
>> However, the process gets killed as soon as I close the Terminal 
>> session. How can this be avoided?
>>
>> Thanks a lot,
>>
>>    Andreas
>> _______________________________________________
>> sunmanagers mailing list
>> sunmanagers@sunmanagers.org
>> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Tue Dec 10 19:14:25 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:00 EST