On Wed, Sep 8, 2010 at 15:41, Jack Byer <ftn...@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
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to