[systemd-devel] Generators, Targets and Stater Units - I am holding it wrong?

Marc Haber mh+systemd-devel at zugschlus.de
Mon Jun 23 04:48:36 UTC 2025


On Mon, Jun 23, 2025 at 12:47:35AM +0200, Nils Kattenbeck wrote:
>it has been a while since working with generators but I think the correct
>solution is to ensure that the system-presets are configured such that you
>generated units are enabled by default. Debian for example has a fallback
>which applies a default preset of disabled for all units unless
>specifically listed as enabled-by-default

So you are suggesting that I use, for example, a 50-console-log.preset 
which has a single line "enable console-log.target"? What would that 
preset to when the target is not there?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421


More information about the systemd-devel mailing list