From: Olaf Hering Date: Fri, 19 Dec 2014 11:25:30 +0000 (+0100) Subject: tools/hotplug: use xencommons as EnvironmentFile in xenconsoled.service X-Git-Tag: RELEASE-4.5.0~15 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=9fd87d31ce0f4632cce74c29ea62c9c05ac927e4;p=xen.git tools/hotplug: use xencommons as EnvironmentFile in xenconsoled.service The referenced sysconfig/xenconsoled does not exist. If anything needs to be specified it has to go into the existing sysconfig/xencommons file. Signed-off-by: Olaf Hering Acked-by: Ian Jackson Cc: Stefano Stabellini Acked-by: Ian Campbell Cc: Wei Liu Signed-off-by: Konrad Rzeszutek Wilk --- diff --git a/tools/hotplug/Linux/systemd/xenconsoled.service.in b/tools/hotplug/Linux/systemd/xenconsoled.service.in index cb44cd6649..9e714447d4 100644 --- a/tools/hotplug/Linux/systemd/xenconsoled.service.in +++ b/tools/hotplug/Linux/systemd/xenconsoled.service.in @@ -9,7 +9,7 @@ Type=simple Environment=XENCONSOLED_ARGS= Environment=XENCONSOLED_LOG=none Environment=XENCONSOLED_LOG_DIR=@XEN_LOG_DIR@/console -EnvironmentFile=-@CONFIG_DIR@/@CONFIG_LEAF_DIR@/xenconsoled +EnvironmentFile=@CONFIG_DIR@/@CONFIG_LEAF_DIR@/xencommons PIDFile=@XEN_RUN_DIR@/xenconsoled.pid ExecStartPre=/bin/grep -q control_d /proc/xen/capabilities ExecStartPre=/bin/mkdir -p ${XENCONSOLED_LOG_DIR}