svn commit: r200743 - in head/usr.sbin: . service
nork at FreeBSD.org
Sun Dec 20 11:58:47 UTC 2009
On Sun, 20 Dec 2009 18:31:56 +0900
Hajimu UMEMOTO <ume at 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 - ...'.
More information about the freebsd-rc