2013/1/10 Rainer Gerhards <[email protected]>: >> So you need some kind of communication channgel between the parent and >> the child process? You could use a unix domain socket [1] for this. > > Yeah, I was thinking of a smaller change. It will probably sufficient if I > send sigterm before dropping privs, but I need to check things a bit
Maybe you already know [1], but it contains some general, useful information regarding how to write (sysv) daemons. In Step 14), Lennart is suggesting using an unnamed pipe. Hope this is useful. Cheers, Michael [1] http://0pointer.de/public/systemd-man/daemon.html -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth? _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

