Date: Tue, 9 Nov 2004 19:46:09 +1100 From: Edwin Groothuis <edwin@mavetju.org> To: Volker Stolz <stolz@i2.informatik.rwth-aachen.de> Cc: freebsd-ports@freebsd.org Subject: Re: rc.subr extensions Message-ID: <20041109084609.GE1058@k7.mavetju> In-Reply-To: <20041109080124.GA59253@i2.informatik.rwth-aachen.de> References: <20041109040834.GA8940@k7.mavetju> <20041109080124.GA59253@i2.informatik.rwth-aachen.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 09, 2004 at 09:01:24AM +0100, Volker Stolz wrote: > In gmane.os.freebsd.devel.ports, you wrote: > > - define RC_FILES, which contain a list of all the files to be > > stored in /usr/local/etc/rc.d. This file may contain macros like > > %%LOCALBASE%% and %%RC_SUBR%%. > > Excellent! While we discussed this at the ports BOF at EuroBSDCon, it > was suggested to have a knob for deciding whether to run > "${RC_SCRIPT} restart" on updating a port -- it has to be configurable > since the administrator might want fine-grained control. Any chance of > adding this as sugar on top? That would be if somebody does do "make reinstall" ? It doesn't matter if it happens when a "make install" is happening, since rc.subr would check for the deamon_enable in the /etc/rc.conf anyway. I'm just wondering how this would be done when you upgrade from a package... Any suggestions? Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://weblog.barnet.com.au/edwin/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041109084609.GE1058>