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 spac
Another, slightly more elaborate, example is here:
http://man7.org/tlpi/code/online/dist/daemons/daemon_SIGHUP.c.html