I think it would be a good idea to add a reload() function to all init scripts, like Debian does it for example. It's a *very* nice feature if you can just use /etc/init.d/jabber reload for example to re-read jabberd's config file without retstarting jabberd (which would interrupt all connections to the jabber server). On Gentoo, you have to do this manually right now. It shouldn't be much of a problem, afaik not all daemons support this but the ones that do could get such an function in their init script. Tom Reproducible: Always Steps to Reproduce: 1. 2. 3.
file specific bugs for specific scripts/packages i doubt debian has a generic reload backend for scripts ... each one is customized for the daemon ... which means each package needs to be updated
Well, almost all Debian init scripts I know of have a reload function: apache, jabberd, mysql, postfix, nfs, ssh (especially for ssh this is *really* nice!) just to name a few. The idea I had was just that I think it would be a good idea if all daemons that support reloading their config file could have an extra reload function in their init scripts, besides the usual start|stop|restart functions. I know that this would have to be done for each package individually, but once it's done ... I can't file a bug report for every single init script since I'm not complaining about a specific package, I think this could be a general enhancement for the Gentoo init scripts alltogether. Tom
i agree that it'd be a good feature to have in most scripts, but no one is in charge of them all ... each maintainer would have to update their own package ;)