[systemd-devel] [feature request] allow instances in file.preset

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Thu Sep 25 14:17:02 PDT 2014


On Thu, Sep 25, 2014 at 08:29:46PM +0000, Damien Robert wrote:
> Damien Robert  wrote in message <m01rcj$dhh$2 at ger.gmane.org>:
> > I really like the new preset directive, and I plan to use preset files
> > to synchronise the services I launch at boot across my computers.
> 
> Also according to the man file systemd.preset and my test,
> while user systemd units are looked in user folders:
>        $XDG_CONFIG_HOME/systemd/user/*
>        $HOME/.config/systemd/user/*
>        ...
> preset files are only looked in system folders:
>        /etc/systemd/user-preset/*.preset
>        ...
> Is there a reason for that?
This seems to be a mis-design. I'm pretty sure we should allow users
to set their own presets, so those directories underneath the home
dir should be added.

Zbyszek


More information about the systemd-devel mailing list