Andrew Cid wrote:
Hi all,
What's the best way of setting environment variables on FreeBSD
so that all users and daemons running from rc can see them?
I'd like to set PKGROOT to a custom package server, so that all users
and a couple of daemons that start from rc will use the new packages.
Hi all,
What's the best way of setting environment variables on FreeBSD
so that all users and daemons running from rc can see them?
I'd like to set PKGROOT to a custom package server, so that all users
and a couple of daemons that start from rc will use the new packages.
Cheers,
Andrew
--
What's the best way of setting environment variables on FreeBSD
so that all users and daemons running from rc can see them?
man login.conf
I'd like to set PKGROOT to a custom package server, so that all users
and a couple of daemons that start from rc will use the new packages.
Cheers,
If you are using sh, or a derived shell such as bash, then you can
use /etc/profile to achieve your desired result.
On Tuesday 08 April 2008 10:18, Andrew Cid wrote:
Hi all,
What's the best way of setting environment variables on FreeBSD
so that all users and daemons running from rc can see
On Tue, Apr 08, 2008 at 06:31:27PM +0100, Matthew Seaman wrote:
/etc/login.conf -- don't forget to run cap_mkdb after editing it.
Thanks, that's totally it. I added PACKAGEROOT to setenv in the default
class: