Skip to content

Commit

Permalink
units: adjust Descriptions of various units
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
keszybz committed Jun 30, 2021
1 parent 0a59216 commit 4fd3fc6
Show file tree
Hide file tree
Showing 23 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion units/bluetooth.target
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
# (at your option) any later version.

[Unit]
Description=Bluetooth
Description=Bluetooth Support
Documentation=man:systemd.special(7)
StopWhenUnneeded=yes
2 changes: 1 addition & 1 deletion units/final.target
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# (at your option) any later version.

[Unit]
Description=Final Step
Description=Late Boot Services
Documentation=man:systemd.special(7)
DefaultDependencies=no
RefuseManualStart=yes
Expand Down
2 changes: 1 addition & 1 deletion units/getty-pre.target
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
# (at your option) any later version.

[Unit]
Description=Login Prompts (Pre)
Description=Preparation for Logins
Documentation=man:systemd.special(7) man:systemd-getty-generator(8)
Documentation=http://0pointer.de/blog/projects/serial-console.html
2 changes: 1 addition & 1 deletion units/halt.target
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# (at your option) any later version.

[Unit]
Description=Halt
Description=System Halt
Documentation=man:systemd.special(7)
DefaultDependencies=no
Requires=systemd-halt.service
Expand Down
2 changes: 1 addition & 1 deletion units/hibernate.target
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# (at your option) any later version.

[Unit]
Description=Hibernate
Description=System Hibernation
Documentation=man:systemd.special(7)
DefaultDependencies=no
Requires=systemd-hibernate.service
Expand Down
2 changes: 1 addition & 1 deletion units/local-fs-pre.target
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
# (at your option) any later version.

[Unit]
Description=Local File Systems (Pre)
Description=Preparation for Local File Systems
Documentation=man:systemd.special(7)
RefuseManualStart=yes
2 changes: 1 addition & 1 deletion units/network-pre.target
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# (at your option) any later version.

[Unit]
Description=Network (Pre)
Description=Preparation for Network
Documentation=man:systemd.special(7)
Documentation=https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget
RefuseManualStart=yes
2 changes: 1 addition & 1 deletion units/paths.target
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
# (at your option) any later version.

[Unit]
Description=Paths
Description=Path Units
Documentation=man:systemd.special(7)
2 changes: 1 addition & 1 deletion units/poweroff.target
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# (at your option) any later version.

[Unit]
Description=Power-Off
Description=System Power Off
Documentation=man:systemd.special(7)
DefaultDependencies=no
Requires=systemd-poweroff.service
Expand Down
2 changes: 1 addition & 1 deletion units/printer.target
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
# (at your option) any later version.

[Unit]
Description=Printer
Description=Printer Support
Documentation=man:systemd.special(7)
StopWhenUnneeded=yes
2 changes: 1 addition & 1 deletion units/reboot.target
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# (at your option) any later version.

[Unit]
Description=Reboot
Description=System Reboot
Documentation=man:systemd.special(7)
DefaultDependencies=no
Requires=systemd-reboot.service
Expand Down
2 changes: 1 addition & 1 deletion units/remote-fs-pre.target
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
# (at your option) any later version.

[Unit]
Description=Remote File Systems (Pre)
Description=Preparation for Remote File Systems
Documentation=man:systemd.special(7)
RefuseManualStart=yes
2 changes: 1 addition & 1 deletion units/shutdown.target
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# (at your option) any later version.

[Unit]
Description=Shutdown
Description=System Shutdown
Documentation=man:systemd.special(7)
DefaultDependencies=no
RefuseManualStart=yes
2 changes: 1 addition & 1 deletion units/slices.target
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# (at your option) any later version.

[Unit]
Description=Slices
Description=Slice Units
Documentation=man:systemd.special(7)
Wants=-.slice system.slice
After=-.slice system.slice
2 changes: 1 addition & 1 deletion units/sockets.target
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
# (at your option) any later version.

[Unit]
Description=Sockets
Description=Socket Units
Documentation=man:systemd.special(7)
2 changes: 1 addition & 1 deletion units/swap.target
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
# (at your option) any later version.

[Unit]
Description=Swap
Description=Swaps
Documentation=man:systemd.special(7)
2 changes: 1 addition & 1 deletion units/systemd-halt.service
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# (at your option) any later version.

[Unit]
Description=Halt
Description=System Halt
Documentation=man:systemd-halt.service(8)
DefaultDependencies=no
Requires=shutdown.target umount.target final.target
Expand Down
2 changes: 1 addition & 1 deletion units/systemd-networkd.service.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# (at your option) any later version.

[Unit]
Description=Network Service
Description=Network Configuration
Documentation=man:systemd-networkd.service(8)
ConditionCapability=CAP_NET_ADMIN
DefaultDependencies=no
Expand Down
2 changes: 1 addition & 1 deletion units/systemd-poweroff.service
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# (at your option) any later version.

[Unit]
Description=Power-Off
Description=System Power Off
Documentation=man:systemd-poweroff.service(8)
DefaultDependencies=no
Requires=shutdown.target umount.target final.target
Expand Down
2 changes: 1 addition & 1 deletion units/systemd-reboot.service
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# (at your option) any later version.

[Unit]
Description=Reboot
Description=System Reboot
Documentation=man:systemd-reboot.service(8)
DefaultDependencies=no
Requires=shutdown.target umount.target final.target
Expand Down
2 changes: 1 addition & 1 deletion units/systemd-suspend.service.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# (at your option) any later version.

[Unit]
Description=Suspend
Description=System Suspend
Documentation=man:systemd-suspend.service(8)
DefaultDependencies=no
Requires=sleep.target
Expand Down
2 changes: 1 addition & 1 deletion units/timers.target
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# (at your option) any later version.

[Unit]
Description=Timers
Description=Timer Units
Documentation=man:systemd.special(7)

DefaultDependencies=no
Expand Down
2 changes: 1 addition & 1 deletion units/tmp.mount
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# (at your option) any later version.

[Unit]
Description=Temporary Directory (/tmp)
Description=Temporary Directory /tmp
Documentation=https://systemd.io/TEMPORARY_DIRECTORIES
Documentation=man:file-hierarchy(7)
Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
Expand Down

0 comments on commit 4fd3fc6

Please sign in to comment.