3 ms·
(For the benefit of anyone who is wondering) A Type=oneshot systemd service that is WantedBy=sysinit.target (for early-ish boot) or multi-user.target (for late
by yrro 6y ago
(For the benefit of anyone who is wondering)
A Type=oneshot systemd service that is WantedBy=sysinit.target (for early-ish boot) or multi-user.target (for late-ish boot) is the rough equivalent of an entry in /etc/rc.local.
The bootup(7) man page shows how these targets fit into the bootup process.
That said, systemd-rc-local-generator(1) provides backwards-compatibility with /etc/rc.local, so putting stuff in there should still work. Any output or error messages will be logged by the rc-local.service unit.