Re: systemd user unit - how to prepare environment?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I post on debian-user, but no answer.
Maybe here I found some knowledge.

KJ
kjonca@xxxxxxxxxxxxxx (Kamil Jońca) writes:

> I tried to setup some user units in my desktop, and have problem with
> env variables.
> So far I set them up in custom .xsession file (in home directory)
> I tried to put
> something like
> systemctl --user import-environment NNTPSERVER
> in my .xsession file, but it looks like this script is run parallel with
> user units, and I have race condition, ie. some units can't see
> variables.
>
> So my question is, where to init variables for user units?
> I woluld like to have possiblity to set them as not only as fixed
> strings
>
> (i.e. I would to have PATH=$PATH:xxx)
>
> KJ

-- 
http://wolnelektury.pl/wesprzyj/teraz/
Bolub's Fourth Law of Computerdom:
	Project teams detest weekly progress reporting because it so
	vividly manifests their lack of progress.
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux