[systemd-devel] Running a systemd-based Gentoo system

Lennart Poettering lennart at poettering.net
Mon Sep 13 10:05:42 PDT 2010


On Wed, 08.09.10 08: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? 

There's already the "display-manager.service" symlink for this which
should handle this. Use Alias= in the [Install] section of your services
to make it point to the right place.

> Likewise with
> openssh and ssh, etc.

Well, as I read understand it openssh is the only implementation that's
really viable these days...

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list