[systemd-devel] systemd --user environment
arnaud gaboury
arnaud.gaboury at gmail.com
Fri Aug 29 03:45:43 PDT 2014
systemd 216-1
I start to play with systemd/user. I understand that the user instance
does not inherit from all my environment variables listed by the
printenv command. When a variable is needed for a service, I add a
/etc/systemd/system/user at .service.d/myService.conf drop-In file with
the Environment=myVariable.
I can also edit /etc/environment, or /etc/systemd/user.conf
Is there any way to define a per user environment file somewhere in my
user home directory, so I can add variables?
I tried some hacks with no success, mainly because the home directory
will be /root (I guess so).
TY for suggestion/tips.
More information about the systemd-devel
mailing list