How to restart C daemon program in Linux after receiving SIGHUP signal

Posted by abhelp on Stack Overflow See other posts from Stack Overflow or by abhelp
Published on 2010-06-02T07:50:46Z Indexed on 2010/06/02 7:53 UTC
Read the original article Hit count: 216

Filed under:
|
|

Hello

Can anybody please post some example code on how I can reread a configuration file and restart my daemon after the daemon receives a SIGHUP signal. The daemon is a user space program written in C on Linux and is not started by inetd.

© Stack Overflow or respective owner

Related posts about c

    Related posts about linux