Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Dec 2010 23:10:34 +0600
From:      Victor Sudakov <sudakov@sibptus.tomsk.ru>
To:        freebsd-questions@freebsd.org
Subject:   rc.d and environment variables
Message-ID:  <20101223171034.GA8330@admin.sibptus.tomsk.ru>

next in thread | raw e-mail | index | archive | help
Colleagues,

The svnserve daemon is started from /usr/local/etc/rc.d/svnserve. I need to
pass the environment variable KRB5_KTNAME=/home/svn/svn.keytab to the
daemon on start. How do I do that?

I tried to do this via a login class for the svn user, but it did not
work. If I first 'su -l svn' and then start the daemon manually, the
environment variable is set all right, but not when it is started from
/usr/local/etc/rc.d/svnserve.

All this is happening on 8.1-RELEASE-p2.
Thanks in advance for any help. 

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:sudakov@sibptus.tomsk.ru



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