News for hackers. Stuff that matters.
Re:One Year with ThinkPad and Linux (From MacBook Pro) by yrro on Friday August 28, 2020 @10:23AM (#24305197)
(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.

There are no comments on this comment yet.