From: Olaf Hering Date: Fri, 19 Dec 2014 11:25:31 +0000 (+0100) Subject: tools/hotplug: use XENCONSOLED_TRACE in xenconsoled.service X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~3987 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=098f91390340691c0603f75ab1694e3ccce26c56;p=xen.git tools/hotplug: use XENCONSOLED_TRACE in xenconsoled.service Instead of inventing a new XENCONSOLED_LOG= variable reuse the existing XENCONSOLED_TRACE= variable in xenconsoled.service. 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 9e714447d4..cd282bf7ff 100644 --- a/tools/hotplug/Linux/systemd/xenconsoled.service.in +++ b/tools/hotplug/Linux/systemd/xenconsoled.service.in @@ -7,13 +7,13 @@ ConditionPathExists=/proc/xen/capabilities [Service] Type=simple Environment=XENCONSOLED_ARGS= -Environment=XENCONSOLED_LOG=none +Environment=XENCONSOLED_TRACE=none Environment=XENCONSOLED_LOG_DIR=@XEN_LOG_DIR@/console 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} -ExecStart=@sbindir@/xenconsoled --pid-file @XEN_RUN_DIR@/xenconsoled.pid --log=${XENCONSOLED_LOG} --log-dir=${XENCONSOLED_LOG_DIR} $XENCONSOLED_ARGS +ExecStart=@sbindir@/xenconsoled --pid-file @XEN_RUN_DIR@/xenconsoled.pid --log=${XENCONSOLED_TRACE} --log-dir=${XENCONSOLED_LOG_DIR} $XENCONSOLED_ARGS [Install] WantedBy=multi-user.target