Daemon is a simple useful utility which converts programs into daemons. It is part of Debian. I use it to run clamd in "supervised" mode so that it can be restarted if it dies. It also provides a convenient way of shutting down processes. I've tested it on x86 and amd64. This is my first ebuild so please forgive any bloopers.
Created attachment 57709 [details] Daemon ebuild
any reason for this over start-stop-daemon?
start-stop-daemon will daemonize processes, but it wont supervise them daemontools does both of those though
Because daemon can run services under different user.
No progress upstream since 2004. WONTFIX, use sys-process/daemontools
*** Bug 190225 has been marked as a duplicate of this bug. ***
Created attachment 129178 [details] sys-process/daemon/daemon-0.6.3.ebuild this is my effort providing a working ebuild. even if the software features very bad programming practices, this is the best we could get out of it. a guy on #-bugs reported many errors on amd64, so KEYWORDS=-amd64 unless someone has time to fix it