[systemd-devel] [PATCH] Added support for EnvironmentDir

Pekka Lundström pekka.lundstrom at jollamobile.com
Mon Dec 10 07:04:23 PST 2012


On 12/10/2012 04:17 PM, "Jóhann B. Guðmundsson" wrote:
 > <snip>
 > ...
 > </snip>
 > What's the usecase for environment directory?


Especially for user session we need to have common set of environment 
variables and these
variables are coming from multiple packages. It doesn't work with 
environment files
because file names are not known to lower level component that is 
providing startup file
for user session. Now with environmet directory we only need to agree 
that each package
that needs to distribute environment variables installs xyz.conf file to 
common dir.



More information about the systemd-devel mailing list