aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2022-11-04 10:41:03 +0800
committerXi Ruoyao <xry111@xry111.site>2022-11-04 10:42:03 +0800
commit5156c4003138d613019901709865ad00d68db2dc (patch)
treefb50d34ac6f20947fd868fa09e8931ed833756cb /chapter08
parent6dff9ef949bb3567b543ee1cb0bdd0f309fa56bf (diff)
systemd: fix and simply the command to disable systemd-sysupdate
"systemd disable" seems a typo... And we don't need the ".timer" suffix because these .service units are tied to the .timer units.
Diffstat (limited to 'chapter08')
-rw-r--r--chapter08/systemd.xml10
1 files changed, 3 insertions, 7 deletions
diff --git a/chapter08/systemd.xml b/chapter08/systemd.xml
index 86f75e2e8..4548056ea 100644
--- a/chapter08/systemd.xml
+++ b/chapter08/systemd.xml
@@ -198,15 +198,11 @@ meson --prefix=/usr \
<screen><userinput remap="adjust">systemctl preset-all</userinput></screen>
- <para>Disable a service for upgrading binary distros. It's useless for
- a basic Linux system built from source, and it will report an error if
+ <para>Disable two services for upgrading binary distros. They are useless for
+ a basic Linux system built from source, and both will report an error if
it's enabled but not configured:</para>
-<screen><userinput remap="adjust">systemctl disable systemd-sysupdate</userinput></screen>
-
- <para>Also disable that unit's timer:</para>
-
-<screen><userinput remap="adjust">systemd disable systemd-sysupdate-reboot.timer</userinput></screen>
+<screen><userinput remap="adjust">systemctl disable systemd-sysupdate{,-reboot}</userinput></screen>
<!-- dev: 50-pid-max.conf is not removed in BLFS, so I commented the following out.
If it causes any trouble, we can add this back and also copy it into BLFS -->