Changeset 5156c400


Ignore:
Timestamp:
11/04/2022 02:42:03 AM (18 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/update-glibc
Children:
5347af84, 5f3a328
Parents:
6dff9ef
git-author:
Xi Ruoyao <xry111@…> (11/04/2022 02:41:03 AM)
git-committer:
Xi Ruoyao <xry111@…> (11/04/2022 02:42:03 AM)
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/systemd.xml

    r6dff9ef r5156c400  
    199199<screen><userinput remap="adjust">systemctl preset-all</userinput></screen>
    200200
    201     <para>Disable a service for upgrading binary distros.  It's useless for
    202     a basic Linux system built from source, and it will report an error if
     201    <para>Disable two services for upgrading binary distros.  They are useless for
     202    a basic Linux system built from source, and both will report an error if
    203203    it's enabled but not configured:</para>
    204204
    205 <screen><userinput remap="adjust">systemctl disable systemd-sysupdate</userinput></screen>
    206 
    207     <para>Also disable that unit's timer:</para>
    208 
    209 <screen><userinput remap="adjust">systemd disable systemd-sysupdate-reboot.timer</userinput></screen>
     205<screen><userinput remap="adjust">systemctl disable systemd-sysupdate{,-reboot}</userinput></screen>
    210206
    211207<!-- dev: 50-pid-max.conf is not removed in BLFS, so I commented the following out.
Note: See TracChangeset for help on using the changeset viewer.