Summary: Starting a daemon process

From: Andreas Hoeschler (ahoesch@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



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:27 EDT