# preset-global.service applies the user presets at first boot, as PID 1 does # for the system presets. It runs before basic.target, so before any user # manager starts, which needs DefaultDependencies=no. It is the same as # ParticleOS's. systemd 263 can apply presets at build time instead, with # systemctl preset-all --vendor. [Unit] Description=Apply the user presets ConditionFirstBoot=yes DefaultDependencies=no Before=basic.target Conflicts=shutdown.target Before=shutdown.target [Service] Type=oneshot RemainAfterExit=yes ExecStart=systemctl preset-all --global [Install] WantedBy=basic.target