On Mi, 12.09.18 06:18, Kamil Jońca ([email protected]) wrote:
> Lennart Poettering <[email protected]> writes:
>
> [...]
> >> >
> >> > (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
>
> Two questions:
> 1. Can I there use construct like PATH=$PATH:xxx?
No, it's a declarative configuration file, not a script language or
templating language. It only knows plain assignments.
> 2. whether there is a such file on user level?
See above, it's located in the user's $HOME directory ("~"), i.e. is per-user.
Lennart
--
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel