Re: systemd user unit - how to prepare environment?

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

 



Hi,

> 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)

You can add them to ~/.config/systemd/user.conf in the Environment=
field in the [Manager] section, see systemd-system.conf(5).x

How does this compare to man 5 environment.d ?

--
Regards,
Peter
_______________________________________________
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