Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Dec 2009 20:58:45 +0900
From:      Norikatsu Shigemura <nork@FreeBSD.org>
To:        Doug Barton <dougb@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, freebsd-rc@freebsd.org, Hajimu UMEMOTO <ume@freebsd.org>
Subject:   Re: svn commit: r200743 - in head/usr.sbin: . service
Message-ID:  <20091220205845.7de335cc.nork@FreeBSD.org>
In-Reply-To: <ygeaaxec7oz.wl%ume@mahoroba.org>
References:  <200912200134.nBK1YCAA048942@svn.freebsd.org> <yged42ackpc.wl%ume@mahoroba.org> <4B2DBB51.9060002@FreeBSD.org> <ygebphuceaw.wl%ume@mahoroba.org> <4B2DD2A1.8060907@FreeBSD.org> <ygeaaxec7oz.wl%ume@mahoroba.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 20 Dec 2009 18:31:56 +0900
Hajimu UMEMOTO <ume@freebsd.org> wrote:
> > About the value this change, I think it should be same as the values
> > at boot time.  I cannot imagine that someone want to restart the
> > system daemons under the user environment. 
> dougb> I can actually, especially for ports.
> Yup, I often do restart the services installed from ports, too.
> I meant that I don't want that the values of user environment are
> inherited to the services which is started from the user environment.

	Yes, me too.  I hope to restart daemons (installed from ports and/or
	system) like 'on boot'.

> > Even if someone want to do
> > so, he still can kick /etc/rc.d/foo, directly.
> dougb> The point of adding a service(8) is to avoid needing to do that. :)
> Yes, I hope so.:)
> The merit of using service(8) should be that there are more additional
> thing than just kicking /etc/rc.d/foo; don't inherit the values of
> user environment, IMO.

	I always kick like 'cd /; env - HOME=/ PATH=$PATH /etc/rc.d/foo'.
	So I want service(8) like 'cd /; env - ...'.

	Thank you.



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