rc.d and environment variables
freebsd at edvax.de
Fri Dec 24 03:25:44 UTC 2010
On Fri, 24 Dec 2010 09:13:53 +0600, Victor Sudakov <vas at mpeks.tomsk.su> wrote:
> Of course I can always write my own script or put something like
> su -l svn -c 'usr/local/bin/svnserve -d --listen-port=3690 bla bla'
> into /etc/rc.local, but the question was about the rc.d framework.
Environmental variables cannot be controlled by the rc.d
framework, as far as I understand. Using login classes to
define them should be the correct way.
>From "man login.conf":
setenv list A comma-separated list of
environment variables and
values to which they are to
What did you enter for the svnserve user in /etc/login.conf,
and did you make sure there is no override setting in the
corresponding user's ~/.login.conf?
A valid setting should look like this,
embedded into the proper structures.
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions