]> xenbits.xensource.com Git - xen.git/commitdiff
hotplug/Linux: honour XEN_RUN_STORED
authorWei Liu <wei.liu2@citrix.com>
Mon, 13 Jun 2016 07:49:09 +0000 (08:49 +0100)
committerWei Liu <wei.liu2@citrix.com>
Fri, 17 Jun 2016 10:27:21 +0000 (11:27 +0100)
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/hotplug/Linux/systemd/xenstored.socket.in
tools/hotplug/Linux/systemd/xenstored_ro.socket.in

index 2e8ee04ecf9a46a20e5b756dadcbdae41b353f96..375c4b7a20034c7b8be352b286f2f7af86ea38f2 100644 (file)
@@ -5,7 +5,7 @@ After=proc-xen.mount var-lib-xenstored.mount
 ConditionPathExists=/proc/xen/capabilities
 
 [Socket]
-ListenStream=/var/run/xenstored/socket
+ListenStream=@XEN_RUN_STORED@/socket
 SocketMode=0600
 Service=xenstored.service
 
index 140ad94d3b1a9f12d457015d8092459f9e5926c8..82fe377cb939896b27d19461da5d11f7dba602d4 100644 (file)
@@ -5,7 +5,7 @@ After=proc-xen.mount var-lib-xenstored.mount
 ConditionPathExists=/proc/xen/capabilities
 
 [Socket]
-ListenStream=/var/run/xenstored/socket_ro
+ListenStream=@XEN_RUN_STORED@/socket_ro
 SocketMode=0660
 Service=xenstored.service