1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-03 05:18:09 +03:00

units: adjust Descriptions of various units

In general, it's not very usuful to repeat the unit name as the description.
Especially when the word is a common name and if somebody doesn't understand
the meaning immediately, they are not going to gain anything from the
repeat either, e.g. "halt", "swap".

In the status-unit-format=combined output parentheses are used around
Description, so avoid using parenthesis in the Description itself.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2021-06-29 09:47:53 +02:00
parent 0a59216cae
commit 4fd3fc6639
23 changed files with 23 additions and 23 deletions

View File

@ -8,6 +8,6 @@
# (at your option) any later version. # (at your option) any later version.
[Unit] [Unit]
Description=Bluetooth Description=Bluetooth Support
Documentation=man:systemd.special(7) Documentation=man:systemd.special(7)
StopWhenUnneeded=yes StopWhenUnneeded=yes

View File

@ -8,7 +8,7 @@
# (at your option) any later version. # (at your option) any later version.
[Unit] [Unit]
Description=Final Step Description=Late Boot Services
Documentation=man:systemd.special(7) Documentation=man:systemd.special(7)
DefaultDependencies=no DefaultDependencies=no
RefuseManualStart=yes RefuseManualStart=yes

View File

@ -8,6 +8,6 @@
# (at your option) any later version. # (at your option) any later version.
[Unit] [Unit]
Description=Login Prompts (Pre) Description=Preparation for Logins
Documentation=man:systemd.special(7) man:systemd-getty-generator(8) Documentation=man:systemd.special(7) man:systemd-getty-generator(8)
Documentation=http://0pointer.de/blog/projects/serial-console.html Documentation=http://0pointer.de/blog/projects/serial-console.html

View File

@ -8,7 +8,7 @@
# (at your option) any later version. # (at your option) any later version.
[Unit] [Unit]
Description=Halt Description=System Halt
Documentation=man:systemd.special(7) Documentation=man:systemd.special(7)
DefaultDependencies=no DefaultDependencies=no
Requires=systemd-halt.service Requires=systemd-halt.service

View File

@ -8,7 +8,7 @@
# (at your option) any later version. # (at your option) any later version.
[Unit] [Unit]
Description=Hibernate Description=System Hibernation
Documentation=man:systemd.special(7) Documentation=man:systemd.special(7)
DefaultDependencies=no DefaultDependencies=no
Requires=systemd-hibernate.service Requires=systemd-hibernate.service

View File

@ -8,6 +8,6 @@
# (at your option) any later version. # (at your option) any later version.
[Unit] [Unit]
Description=Local File Systems (Pre) Description=Preparation for Local File Systems
Documentation=man:systemd.special(7) Documentation=man:systemd.special(7)
RefuseManualStart=yes RefuseManualStart=yes

View File

@ -8,7 +8,7 @@
# (at your option) any later version. # (at your option) any later version.
[Unit] [Unit]
Description=Network (Pre) Description=Preparation for Network
Documentation=man:systemd.special(7) Documentation=man:systemd.special(7)
Documentation=https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget Documentation=https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget
RefuseManualStart=yes RefuseManualStart=yes

View File

@ -8,5 +8,5 @@
# (at your option) any later version. # (at your option) any later version.
[Unit] [Unit]
Description=Paths Description=Path Units
Documentation=man:systemd.special(7) Documentation=man:systemd.special(7)

View File

@ -8,7 +8,7 @@
# (at your option) any later version. # (at your option) any later version.
[Unit] [Unit]
Description=Power-Off Description=System Power Off
Documentation=man:systemd.special(7) Documentation=man:systemd.special(7)
DefaultDependencies=no DefaultDependencies=no
Requires=systemd-poweroff.service Requires=systemd-poweroff.service

View File

@ -8,6 +8,6 @@
# (at your option) any later version. # (at your option) any later version.
[Unit] [Unit]
Description=Printer Description=Printer Support
Documentation=man:systemd.special(7) Documentation=man:systemd.special(7)
StopWhenUnneeded=yes StopWhenUnneeded=yes

View File

@ -8,7 +8,7 @@
# (at your option) any later version. # (at your option) any later version.
[Unit] [Unit]
Description=Reboot Description=System Reboot
Documentation=man:systemd.special(7) Documentation=man:systemd.special(7)
DefaultDependencies=no DefaultDependencies=no
Requires=systemd-reboot.service Requires=systemd-reboot.service

View File

@ -8,6 +8,6 @@
# (at your option) any later version. # (at your option) any later version.
[Unit] [Unit]
Description=Remote File Systems (Pre) Description=Preparation for Remote File Systems
Documentation=man:systemd.special(7) Documentation=man:systemd.special(7)
RefuseManualStart=yes RefuseManualStart=yes

View File

@ -8,7 +8,7 @@
# (at your option) any later version. # (at your option) any later version.
[Unit] [Unit]
Description=Shutdown Description=System Shutdown
Documentation=man:systemd.special(7) Documentation=man:systemd.special(7)
DefaultDependencies=no DefaultDependencies=no
RefuseManualStart=yes RefuseManualStart=yes

View File

@ -8,7 +8,7 @@
# (at your option) any later version. # (at your option) any later version.
[Unit] [Unit]
Description=Slices Description=Slice Units
Documentation=man:systemd.special(7) Documentation=man:systemd.special(7)
Wants=-.slice system.slice Wants=-.slice system.slice
After=-.slice system.slice After=-.slice system.slice

View File

@ -8,5 +8,5 @@
# (at your option) any later version. # (at your option) any later version.
[Unit] [Unit]
Description=Sockets Description=Socket Units
Documentation=man:systemd.special(7) Documentation=man:systemd.special(7)

View File

@ -8,5 +8,5 @@
# (at your option) any later version. # (at your option) any later version.
[Unit] [Unit]
Description=Swap Description=Swaps
Documentation=man:systemd.special(7) Documentation=man:systemd.special(7)

View File

@ -8,7 +8,7 @@
# (at your option) any later version. # (at your option) any later version.
[Unit] [Unit]
Description=Halt Description=System Halt
Documentation=man:systemd-halt.service(8) Documentation=man:systemd-halt.service(8)
DefaultDependencies=no DefaultDependencies=no
Requires=shutdown.target umount.target final.target Requires=shutdown.target umount.target final.target

View File

@ -8,7 +8,7 @@
# (at your option) any later version. # (at your option) any later version.
[Unit] [Unit]
Description=Network Service Description=Network Configuration
Documentation=man:systemd-networkd.service(8) Documentation=man:systemd-networkd.service(8)
ConditionCapability=CAP_NET_ADMIN ConditionCapability=CAP_NET_ADMIN
DefaultDependencies=no DefaultDependencies=no

View File

@ -8,7 +8,7 @@
# (at your option) any later version. # (at your option) any later version.
[Unit] [Unit]
Description=Power-Off Description=System Power Off
Documentation=man:systemd-poweroff.service(8) Documentation=man:systemd-poweroff.service(8)
DefaultDependencies=no DefaultDependencies=no
Requires=shutdown.target umount.target final.target Requires=shutdown.target umount.target final.target

View File

@ -8,7 +8,7 @@
# (at your option) any later version. # (at your option) any later version.
[Unit] [Unit]
Description=Reboot Description=System Reboot
Documentation=man:systemd-reboot.service(8) Documentation=man:systemd-reboot.service(8)
DefaultDependencies=no DefaultDependencies=no
Requires=shutdown.target umount.target final.target Requires=shutdown.target umount.target final.target

View File

@ -8,7 +8,7 @@
# (at your option) any later version. # (at your option) any later version.
[Unit] [Unit]
Description=Suspend Description=System Suspend
Documentation=man:systemd-suspend.service(8) Documentation=man:systemd-suspend.service(8)
DefaultDependencies=no DefaultDependencies=no
Requires=sleep.target Requires=sleep.target

View File

@ -8,7 +8,7 @@
# (at your option) any later version. # (at your option) any later version.
[Unit] [Unit]
Description=Timers Description=Timer Units
Documentation=man:systemd.special(7) Documentation=man:systemd.special(7)
DefaultDependencies=no DefaultDependencies=no

View File

@ -8,7 +8,7 @@
# (at your option) any later version. # (at your option) any later version.
[Unit] [Unit]
Description=Temporary Directory (/tmp) Description=Temporary Directory /tmp
Documentation=https://systemd.io/TEMPORARY_DIRECTORIES Documentation=https://systemd.io/TEMPORARY_DIRECTORIES
Documentation=man:file-hierarchy(7) Documentation=man:file-hierarchy(7)
Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems