From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: [PATCH 5/7] tools/hotplug: use XENCONSOLED_TRACE in xenconsoled.service Date: Tue, 6 Jan 2015 10:26:44 -0500 Message-ID: <20150106152643.GB8269@l.oracle.com> References: <1418988333-5404-1-git-send-email-olaf@aepfle.de> <1418988333-5404-6-git-send-email-olaf@aepfle.de> <1420543838.28863.141.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1420543838.28863.141.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Olaf Hering , Wei Liu , Stefano Stabellini , Ian Jackson , xen-devel@lists.xen.org, m.a.young@durham.ac.uk List-Id: xen-devel@lists.xenproject.org On Tue, Jan 06, 2015 at 11:30:38AM +0000, Ian Campbell wrote: > On Fri, 2014-12-19 at 12:25 +0100, Olaf Hering wrote: > > Instead of inventing a new XENCONSOLED_LOG= variable reuse the > > existing XENCONSOLED_TRACE= variable in xenconsoled.service. > > > > Signed-off-by: Olaf Hering > > Cc: Ian Jackson > > Cc: Stefano Stabellini > > Acked-by: Ian Campbell > > (should XENCONSOLED_LOG_DIR be changed for consistency?) To XENCONSOLED_TRACE_DIR ? It could but lets leave that for another patch. > > > Cc: Wei Liu > > --- > > tools/hotplug/Linux/systemd/xenconsoled.service.in | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/tools/hotplug/Linux/systemd/xenconsoled.service.in b/tools/hotplug/Linux/systemd/xenconsoled.service.in > > index 74d0428..4788129 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 > >