From 5156c4003138d613019901709865ad00d68db2dc Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Fri, 4 Nov 2022 10:41:03 +0800 Subject: 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. --- chapter08/systemd.xml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'chapter08') 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 \ systemctl preset-all - 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 + 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: -systemctl disable systemd-sysupdate - - Also disable that unit's timer: - -systemd disable systemd-sysupdate-reboot.timer +systemctl disable systemd-sysupdate{,-reboot} -- cgit v1.2.3-54-g00ecf