Daemon Process
Sergey S. Ropchan
fenix at ramb.com.ua
Mon May 16 08:48:49 PDT 2005
Hello Gowtham,
Monday, May 16, 2005, 6:41:03 PM, you wrote:
> Hi,
> I want to know how can I programmatically restart a dead daemon process in
> Unix?
You can restart daemon process with:
kill -HUP `cat /path/to/processname.pid`
or you can do that in your own C program this kill syscall, read
before:
man 2 kill
--
Best regards,
Sergey S. Ropchan mailto:fenix at ramb.com.ua
More information about the freebsd-questions
mailing list