From ba53cec7cde17d534c96ab7db2ca3df047c1296b Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Mon, 13 Jun 2016 08:49:09 +0100 Subject: [PATCH] hotplug/Linux: honour XEN_RUN_STORED Signed-off-by: Wei Liu Acked-by: Ian Jackson --- tools/hotplug/Linux/systemd/xenstored.socket.in | 2 +- tools/hotplug/Linux/systemd/xenstored_ro.socket.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/hotplug/Linux/systemd/xenstored.socket.in b/tools/hotplug/Linux/systemd/xenstored.socket.in index 2e8ee04ecf..375c4b7a20 100644 --- a/tools/hotplug/Linux/systemd/xenstored.socket.in +++ b/tools/hotplug/Linux/systemd/xenstored.socket.in @@ -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 diff --git a/tools/hotplug/Linux/systemd/xenstored_ro.socket.in b/tools/hotplug/Linux/systemd/xenstored_ro.socket.in index 140ad94d3b..82fe377cb9 100644 --- a/tools/hotplug/Linux/systemd/xenstored_ro.socket.in +++ b/tools/hotplug/Linux/systemd/xenstored_ro.socket.in @@ -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 -- 2.39.5