]> xenbits.xensource.com Git - people/tklengyel/xen.git/commitdiff
tools/hotplug: fix systemd unit dependencies
authorJuergen Gross <jgross@suse.com>
Wed, 9 Nov 2022 09:48:59 +0000 (10:48 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 9 Nov 2022 09:48:59 +0000 (10:48 +0100)
Commit 1283af6465cd ("tools/xenstore: remove XEN_LIB_STORED and
XENSTORED_ROOTDIR") removed the systemd file var-lib-xenstored.mount
without removing dependencies to this file.

Fixes: 1283af6465cd ("tools/xenstore: remove XEN_LIB_STORED and XENSTORED_ROOTDIR")
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
tools/hotplug/Linux/systemd/xenstored.service.in

index 80c1d408a5c559629177516ab58558dd132a2ccc..261077dc92eeae6e077f2369d1b8300a4c9d3fbd 100644 (file)
@@ -1,7 +1,7 @@
 [Unit]
 Description=The Xen xenstore
-Requires=proc-xen.mount var-lib-xenstored.mount
-After=proc-xen.mount var-lib-xenstored.mount
+Requires=proc-xen.mount
+After=proc-xen.mount
 Before=libvirtd.service libvirt-guests.service
 RefuseManualStop=true
 ConditionPathExists=/proc/xen/capabilities
@@ -16,4 +16,3 @@ ExecStart=@XEN_SCRIPT_DIR@/launch-xenstore
 [Install]
 WantedBy=multi-user.target
 Also=proc-xen.mount
-Also=var-lib-xenstored.mount