Running a systemd-based Gentoo system

Kay Sievers kay.sievers at vrfy.org
Wed Sep 8 06:46:06 PDT 2010


On Wed, Sep 8, 2010 at 15:41, Jack Byer <ftn768 at gmail.com> wrote:
>> > 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.

Similar to sysv, by enabling the one you want, with:
  systemctl enable $foo
which will maintain this information as symlinks in /etc/systemd/system/.

Kay


More information about the systemd-devel mailing list