Cleanup (or crazy idea): Drop forking

Eric S. Raymond esr at
Tue Aug 28 14:04:21 UTC 2018

Hal Murray via devel <devel at>:
> systemd has the option to support code that doesn't fork/daemonize.  Taking 
> advantage of that could clean up some of our code.
> That would break the -w option.
> Of course, this doesn't work on systems that don't have systemd.  Is there a 
> commonly used way to do this?

I've seen it done under System V init with a shell wrapper that runs a
daemon in background, nohupping it and directing stderr to a logfile.
		<a href="">Eric S. Raymond</a>

My work is funded by the Internet Civil Engineering Institute:
Please visit their site and donate: the civilization you save might be your own.

More information about the devel mailing list