Setting an environment var at boot
mailinglist at diamondbox.dk
Wed Sep 3 18:53:39 UTC 2008
Nicolas Letellier wrote:
> I have an env var to set for mysqld (UMASK_DIR).
> Today, I set it in /usr/local/etc/rc.d/mysql-server, but it's a bad
> idea. When I want to upgrade my mysql5-server port, the file will be
> I want to set it in a file loaded a machine boot. This var must be
> exported and accessible for my services runned in /etc/rc.d
> and /usr/local/etc/rc.d
> What file do you advice?
Wouldn't this go into '/etc/login.conf'?
More information about the freebsd-questions