Running a systemd-based Gentoo system

Jack Byer ftn768 at gmail.com
Wed Sep 8 06:41:48 PDT 2010


> > The two examples you've listed are supported already.
>
> Jack, did you check EnvironmentFile=/etc/conf.d/xyz?
> if this file defines ABC=123, then you can use ExecStart=/path/to/app $ABC
>
I don't believe that feature existed when I first looked at systemd
but it sounds like exactly what would be needed.

> AFAIK the first ExecStart must be a full path to the binary and cannot
> come from envvars.

So if you have a system that has xdm, kdm and gdm all installed at the
same time, how would you choose which one to start? Likewise with
openssh and ssh, etc.


More information about the systemd-devel mailing list