On Wed, Nov 08, 2000 at 04:45:25PM +0500, David Neary mentioned:
> I'm just wondering how it's done when you run a daemon, like say an
> oracle or postgres server, or (ahem) informix for that matter. In that
> case, you're running an app which gets init as it's ppid, and it can
> still be shut down, but not by logging out of a shell.
Any application can fork a process, have it ignore/trap "HUP", and then
exit, leaving the process to be adopted by Oracle. Nohup is for processes
that aren't written to be daemons.
Kate
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!