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(a)redhat.com>
---
src/locking/virtlockd.service.in | 4 ++--
src/logging/virtlogd.service.in | 4 ++--
src/remote/libvirtd.service.in | 4 ++--
src/virtd.service.in | 4 ++--
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/locking/virtlockd.service.in b/src/locking/virtlockd.service.in
index d1ebbda2b7..ed3b7c7792 100644
--- a/src/locking/virtlockd.service.in
+++ b/src/locking/virtlockd.service.in
@@ -1,11 +1,11 @@
[Unit]
Description=libvirt @name@ daemon
+Documentation=man:virtlockd(8)
+Documentation=https://libvirt.org/
BindsTo=virtlockd.socket
BindsTo=virtlockd-admin.socket
After=virtlockd.socket
After=virtlockd-admin.socket
-Documentation=man:virtlockd(8)
-Documentation=https://libvirt.org
[Service]
Type=notify
diff --git a/src/logging/virtlogd.service.in b/src/logging/virtlogd.service.in
index bfcc43d1b7..417770b139 100644
--- a/src/logging/virtlogd.service.in
+++ b/src/logging/virtlogd.service.in
@@ -1,11 +1,11 @@
[Unit]
Description=libvirt @name@ daemon
+Documentation=man:virtlogd(8)
+Documentation=https://libvirt.org/
BindsTo=virtlogd.socket
BindsTo=virtlogd-admin.socket
After=virtlogd.socket
After=virtlogd-admin.socket
-Documentation=man:virtlogd(8)
-Documentation=https://libvirt.org
[Service]
Type=notify
diff --git a/src/remote/libvirtd.service.in b/src/remote/libvirtd.service.in
index 3b9819c3bc..2970e855d6 100644
--- a/src/remote/libvirtd.service.in
+++ b/src/remote/libvirtd.service.in
@@ -1,5 +1,7 @@
[Unit]
Description=libvirt @name@ 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
diff --git a/src/virtd.service.in b/src/virtd.service.in
index e940b05b19..6b59803574 100644
--- a/src/virtd.service.in
+++ b/src/virtd.service.in
@@ -1,5 +1,7 @@
[Unit]
Description=libvirt @name@ daemon
+Documentation=man:@service@(8)
+Documentation=https://libvirt.org/
BindsTo=@service@.socket
BindsTo=@service(a)-ro.socket
BindsTo=@service(a)-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_unit_extra@
[Service]
--
2.41.0