On 9/3/2022 4:18 PM, 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.
I guess the CMD [1] in question is:
$ systemctl edit [ <--full> ] <SERVICE-NAME>
[1] https://www.freedesktop.org/software/systemd/man/systemctl.html#
--
John Doe