On Fri, 24 Dec 2010 09:13:53 +0600, Victor Sudakov <[email protected]> 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
be set.
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,
:setenv=KRB5_KTNAME=/home/svn/svn.keytab:
embedded into the proper structures.
--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"