On Sat 03 Sep 2022 at 08:18:18 (-0600), Charles Curley wrote: > On Sat, 3 Sep 2022 22:57:19 +1000 > David <bouncingc...@gmail.com> wrote: > > Nice write-up, especially the last part. > > One nit-pick > > > > I imagine that could be overcome by copying the above service file to > > /etc/lib/systemd/system/systemd-fsck-root.service and editing the > > above ExecStart line to use /sbin/fsck instead. > > I believe on Debian that should be > /etc/systemd/system/systemd-fsck-root.service > > There is a systemd command for editing systemd files which will if > necessary do that copy transparently for you. I forget right now what > that is.
systemctl edit Controlled by SYSTEMD_EDITOR, subject to the vagaries of su/sudo. Cheers, David.