Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90426 - General reload support in init scripts
Summary: General reload support in init scripts
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-25 13:31 UTC by elektrohirn
Modified: 2005-04-26 05:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description elektrohirn 2005-04-25 13:31:08 UTC
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.
Comment 1 SpanKY gentoo-dev 2005-04-25 13:41:08 UTC
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
Comment 2 elektrohirn 2005-04-25 14:46:16 UTC
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
Comment 3 SpanKY gentoo-dev 2005-04-26 05:51:51 UTC
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 ;)