systemd: Move Documentation lines

Like the Description, these are intended to be displayed to the
user, so it makes sense to have them towards the top of the file
before all the information that systemd will parse to calculate
dependencies.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Andrea Bolognani 2023-09-25 16:43:52 +02:00
parent 12003a66d1
commit 67e3164ecd
4 changed files with 8 additions and 8 deletions

View File

@ -1,11 +1,11 @@
[Unit]
Description=libvirt locking daemon
Documentation=man:virtlockd(8)
Documentation=https://libvirt.org/
BindsTo=virtlockd.socket
Wants=virtlockd-admin.socket
After=virtlockd.socket
After=virtlockd-admin.socket
Documentation=man:virtlockd(8)
Documentation=https://libvirt.org
[Service]
Type=notify

View File

@ -1,11 +1,11 @@
[Unit]
Description=libvirt logging daemon
Documentation=man:virtlogd(8)
Documentation=https://libvirt.org/
BindsTo=virtlogd.socket
Wants=virtlogd-admin.socket
After=virtlogd.socket
After=virtlogd-admin.socket
Documentation=man:virtlogd(8)
Documentation=https://libvirt.org
[Service]
Type=notify

View File

@ -1,5 +1,7 @@
[Unit]
Description=libvirt legacy monolithic daemon
Documentation=man:libvirtd(8)
Documentation=https://libvirt.org/
# Use Wants instead of Requires so that users
# can disable these three .socket units to revert
# to a traditional non-activation deployment setup
@ -22,8 +24,6 @@ After=remote-fs.target
After=systemd-machined.service
After=xencommons.service
Conflicts=xendomains.service
Documentation=man:libvirtd(8)
Documentation=https://libvirt.org
[Service]
Type=notify

View File

@ -1,5 +1,7 @@
[Unit]
Description=libvirt @name@ daemon
Documentation=man:@service@(8)
Documentation=https://libvirt.org/
BindsTo=@service@.socket
Wants=@service@-ro.socket
Wants=@service@-admin.socket
@ -11,8 +13,6 @@ After=libvirtd.service
After=network.target
After=dbus.service
After=apparmor.service
Documentation=man:@service@(8)
Documentation=https://libvirt.org
[Service]
Type=notify