Re: easy way to create a daemon

Etusivu
Liitteet:
Viesti alkuperäisessä muodossaan
+ (text/plain)
Poista viesti
Vastaa
Lähettäjä: Charles Jones
Päiväys:  
Vastaanottaja: Main PLUG discussion list
Aihe: Re: easy way to create a daemon
Just thought that I would add, that if the process is already running
(you forgot to run it with nohup), you can still protect it via:

1. Ctrl-Z (suspends the process)
2. "bg" (runs the process in background)
3. "disown %1" (detaches the process from the pty...same effect as nohup)
4. Logout and know your process is still running.

If you have multiple backgrounded processes, run the "jobs" command and
use the appropriate job number with the disown command.

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss