I need to setup some system-wide environment variables for my Jetty server.
But where to put them? There seem to be 2 choices
/etc/profile or
/etc/profile.d? Which are the differences between the two?
|
I need to setup some system-wide environment variables for my Jetty server. But where to put them? There seem to be 2 choices
| |||
|
feedback
|
|
/etc/profile.d is used so you can break out some of the setting that go in profile. For instance instead of putting settings for vi in /etc/profile, I can put them in /etc/profile.d/vi Per the comment at the top of /etc/profile
and the actual profile.d execution bit
| |||
|
feedback
|