I built the debian restartd package on Gentoo and it seemed to work. Since this package is a stop-gap measure untill I fix my application bugs I have not had time to do a more formal ebuild submission. Consider this a suggestion. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Talk a look at http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml - ebuild guide and see if you can create an ebuild for it.
Created attachment 46073 [details] restartd-0.1_alpha.ebuild I had problems with the names of the package. Someone please check if I did it correctly. I'm also including a patch to make the script more Gentoo-friendly by using /etc/conf.d/
Created attachment 46074 [details, diff] patch to various files
Note: I forgot to wipe out the header of the ebuild I copied as a skeleton.
just out of interest, what does this provide that daemontools doesn't? The config file move you have done there is in error. /etc/conf.d/ is for configuration files that are used by the init scripts. So you'd leave the application config file in /etc, and submit a gentoo init+conf script with the package. The file you place in init.d is NOT suitable for gentoo machines (We don't live in the rc.d world) try looking at one of the gentoo startup scripts for rsync. An example of using the gentoo conf.d file would be specifying the path to the config file that the application uses, or passing other runtime options.
cleaned up and added