tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Generically running rc scripts



On Thu, 17 Nov 2011 23:14:22 +0100
Julian Fagir <gnrp%komkon2.de@localhost> wrote:

> About the former matter: It's good  for omitting redundant code for parsing
> rc_directories, rcvar and name. If you want to restart a service currently,
> you have to parse rc.conf and in some cases also all rc scripts manually for
> their names and rcvar to get the right one.

> Especially in C this will become much more than the appr. 100 lines of the
> script.
> This tool simplifies that issue to a single call.

My impression was that the rc system common code handled the problem
pretty well (along with the rc.conf man page and exemple rc scripts),
but I think that I see what you mean.  Thanks for the explanation.

> If you think this is unnecessary, I will pack that script simply together
> with the software.

I have no authority here, and will let RC script maintainers decide :)
-- 
Matt


Home | Main Index | Thread Index | Old Index