Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Sep 2001 08:30:02 -0700 (PDT)
From:      Peter Pentchev <roam@ringlet.net>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: Startup scripts configuration [Was: Re: ports/30274: isc-dhcp3 port out of date]
Message-ID:  <200109081530.f88FU2c07638@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/30274; it has been noted by GNATS.

From: Peter Pentchev <roam@ringlet.net>
To: Cyrille Lefevre <clefevre@citeweb.net>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: Startup scripts configuration [Was: Re: ports/30274: isc-dhcp3 port out of date]
Date: Sat, 8 Sep 2001 18:25:01 +0300

 On Sat, Sep 08, 2001 at 05:20:47PM +0200, Cyrille Lefevre wrote:
 > Peter Pentchev wrote:
 > > On Thu, Sep 06, 2001 at 12:00:14AM -0700, Cyrille Lefevre wrote:
 > > > The following reply was made to PR ports/30274; it has been noted by GNATS.
 > [snip]
 > > >  	files/isc-dhcpd.sh.sample
 > > >  		enhanced a lot to read startup options from
 > > >  		etc/rc.isc-dhcpd.conf.
 > > >  		program and config files checking added.
 > > >  		messages logged through syslog.
 > > 
 > > And once again, this makes me wonder: would it not be better to have
 > > a common way of having ports' startup scripts - and local startup scripts,
 > > in general - read configuration from a single source?
 > 
 > how do you handle adding/removing/upgrading per-port specific
 > sections in a single file ? for example, I make the use of
 > ${PREFIX}/etc/rc.<something>.conf to keep parameters over upgrades
 > instead of putting them (except defaul values) in ${PREFIX}/etc/rc.d/...
 > putting them in a single file complicates things a lot. well,
 > maybe ${PREFIX}/etc isn't the best place for them (how about
 > ${PREFIX}/etc/rc.conf.d a la HP-UX ?), but single config files
 > for ports aren't applicable so easily.
 
 How about not force this upon the user, and let the user make her
 own choice about whether to keep everything in a single file,
 or use here-documents to source all the per-program config files? :)
 A single file lets you use here-documents to divide up your config;
 multiple config files do not let you keep all the configuration
 in a single place (like I really, really like to do).
 
 G'luck,
 Peter
 
 -- 
 If I were you, who would be reading this sentence?

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109081530.f88FU2c07638>