daemon restart itself on SIGHUP signal in C - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

daemon restart itself on SIGHUP signal in C

abhelpabhelp Posts: 1Member
I have a C daemon that needs to restart itself after any configuration file changes on receiving a SIGHUP signal. Can anybody post some example code on how to do it?
The daemon is started by a shell script.
Sign In or Register to comment.