diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-06-29 09:47:53 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-06-30 13:25:16 +0200 |
commit | 4fd3fc66396026f81fd5b27746f2faf8a9a7b9ee (patch) | |
tree | ab955cebbc2d6a2333d00795f9867d0472bc3585 | |
parent | logind, units: unit Descriptions should be capitalized (diff) | |
download | systemd-4fd3fc66396026f81fd5b27746f2faf8a9a7b9ee.tar.xz systemd-4fd3fc66396026f81fd5b27746f2faf8a9a7b9ee.zip |
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.
-rw-r--r-- | units/bluetooth.target | 2 | ||||
-rw-r--r-- | units/final.target | 2 | ||||
-rw-r--r-- | units/getty-pre.target | 2 | ||||
-rw-r--r-- | units/halt.target | 2 | ||||
-rw-r--r-- | units/hibernate.target | 2 | ||||
-rw-r--r-- | units/local-fs-pre.target | 2 | ||||
-rw-r--r-- | units/network-pre.target | 2 | ||||
-rw-r--r-- | units/paths.target | 2 | ||||
-rw-r--r-- | units/poweroff.target | 2 | ||||
-rw-r--r-- | units/printer.target | 2 | ||||
-rw-r--r-- | units/reboot.target | 2 | ||||
-rw-r--r-- | units/remote-fs-pre.target | 2 | ||||
-rw-r--r-- | units/shutdown.target | 2 | ||||
-rw-r--r-- | units/slices.target | 2 | ||||
-rw-r--r-- | units/sockets.target | 2 | ||||
-rw-r--r-- | units/swap.target | 2 | ||||
-rw-r--r-- | units/systemd-halt.service | 2 | ||||
-rw-r--r-- | units/systemd-networkd.service.in | 2 | ||||
-rw-r--r-- | units/systemd-poweroff.service | 2 | ||||
-rw-r--r-- | units/systemd-reboot.service | 2 | ||||
-rw-r--r-- | units/systemd-suspend.service.in | 2 | ||||
-rw-r--r-- | units/timers.target | 2 | ||||
-rw-r--r-- | units/tmp.mount | 2 |
23 files changed, 23 insertions, 23 deletions
diff --git a/units/bluetooth.target b/units/bluetooth.target index 8333c2332f..ab23c850c6 100644 --- a/units/bluetooth.target +++ b/units/bluetooth.target @@ -8,6 +8,6 @@ # (at your option) any later version. [Unit] -Description=Bluetooth +Description=Bluetooth Support Documentation=man:systemd.special(7) StopWhenUnneeded=yes diff --git a/units/final.target b/units/final.target index 34f6069dd1..4c86ca7935 100644 --- a/units/final.target +++ b/units/final.target @@ -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 diff --git a/units/getty-pre.target b/units/getty-pre.target index 5cf0875fae..663011de1d 100644 --- a/units/getty-pre.target +++ b/units/getty-pre.target @@ -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 diff --git a/units/halt.target b/units/halt.target index b06758bf95..bfa5f23e1d 100644 --- a/units/halt.target +++ b/units/halt.target @@ -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 diff --git a/units/hibernate.target b/units/hibernate.target index 9ec6f2a6b1..838c5a3e9b 100644 --- a/units/hibernate.target +++ b/units/hibernate.target @@ -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 diff --git a/units/local-fs-pre.target b/units/local-fs-pre.target index bffa7e95dd..8e0f4b8ffb 100644 --- a/units/local-fs-pre.target +++ b/units/local-fs-pre.target @@ -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 diff --git a/units/network-pre.target b/units/network-pre.target index 70279dacdb..f92449b50b 100644 --- a/units/network-pre.target +++ b/units/network-pre.target @@ -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 diff --git a/units/paths.target b/units/paths.target index 1bec148bee..fb8dc64320 100644 --- a/units/paths.target +++ b/units/paths.target @@ -8,5 +8,5 @@ # (at your option) any later version. [Unit] -Description=Paths +Description=Path Units Documentation=man:systemd.special(7) diff --git a/units/poweroff.target b/units/poweroff.target index e97f058fdc..c17c123dfe 100644 --- a/units/poweroff.target +++ b/units/poweroff.target @@ -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 diff --git a/units/printer.target b/units/printer.target index c695669c5c..043bfbd61e 100644 --- a/units/printer.target +++ b/units/printer.target @@ -8,6 +8,6 @@ # (at your option) any later version. [Unit] -Description=Printer +Description=Printer Support Documentation=man:systemd.special(7) StopWhenUnneeded=yes diff --git a/units/reboot.target b/units/reboot.target index a900c90dcf..5ad941935e 100644 --- a/units/reboot.target +++ b/units/reboot.target @@ -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 diff --git a/units/remote-fs-pre.target b/units/remote-fs-pre.target index bba5e0ce7c..1ede280eff 100644 --- a/units/remote-fs-pre.target +++ b/units/remote-fs-pre.target @@ -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 diff --git a/units/shutdown.target b/units/shutdown.target index 582ae6ba27..8b3c0b6989 100644 --- a/units/shutdown.target +++ b/units/shutdown.target @@ -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 diff --git a/units/slices.target b/units/slices.target index 4517e35fc5..72701bd2a8 100644 --- a/units/slices.target +++ b/units/slices.target @@ -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 diff --git a/units/sockets.target b/units/sockets.target index c6e20d7760..e53d1ebb7d 100644 --- a/units/sockets.target +++ b/units/sockets.target @@ -8,5 +8,5 @@ # (at your option) any later version. [Unit] -Description=Sockets +Description=Socket Units Documentation=man:systemd.special(7) diff --git a/units/swap.target b/units/swap.target index bcdd98815b..1f2160765a 100644 --- a/units/swap.target +++ b/units/swap.target @@ -8,5 +8,5 @@ # (at your option) any later version. [Unit] -Description=Swap +Description=Swaps Documentation=man:systemd.special(7) diff --git a/units/systemd-halt.service b/units/systemd-halt.service index 37bfe285c0..3ce976f539 100644 --- a/units/systemd-halt.service +++ b/units/systemd-halt.service @@ -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 diff --git a/units/systemd-networkd.service.in b/units/systemd-networkd.service.in index 9a40d2afa5..ffa45ba049 100644 --- a/units/systemd-networkd.service.in +++ b/units/systemd-networkd.service.in @@ -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 diff --git a/units/systemd-poweroff.service b/units/systemd-poweroff.service index d95c618e79..254188d682 100644 --- a/units/systemd-poweroff.service +++ b/units/systemd-poweroff.service @@ -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 diff --git a/units/systemd-reboot.service b/units/systemd-reboot.service index 5c7ade7d02..79176ada31 100644 --- a/units/systemd-reboot.service +++ b/units/systemd-reboot.service @@ -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 diff --git a/units/systemd-suspend.service.in b/units/systemd-suspend.service.in index 1ae32af5f7..2515575e10 100644 --- a/units/systemd-suspend.service.in +++ b/units/systemd-suspend.service.in @@ -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 diff --git a/units/timers.target b/units/timers.target index 99f82e3b80..2e626be753 100644 --- a/units/timers.target +++ b/units/timers.target @@ -8,7 +8,7 @@ # (at your option) any later version. [Unit] -Description=Timers +Description=Timer Units Documentation=man:systemd.special(7) DefaultDependencies=no diff --git a/units/tmp.mount b/units/tmp.mount index a8e5851632..516bd1621c 100644 --- a/units/tmp.mount +++ b/units/tmp.mount @@ -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 |