[systemd-devel] user environment variables

arnaud gaboury arnaud.gaboury at gmail.com
Fri Dec 5 07:13:10 PST 2014


>
> systemctl set-environment `cat FILE` should work, no?
>
> Lennart
>

I am messing with it.

----------------------------
$ systemctl --user set-environment toto=3 tata=4
$ systemctl --user show-environment
......
tata=4
toto=3
-------------------------

Now:
----------------------------------
$ echo 'lolo=4 lala=5' | tee test
lolo=4 lala=5
$ systemctl --user set-environment 'cat test'
Failed to set environment: Invalid environment assignments
-----------------------------------

No idea what I do wrong.


More information about the systemd-devel mailing list