[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 7/7] oxenstored: honour XEN_RUN_DIR


  • To: Wei Liu <wei.liu2@xxxxxxxxxx>
  • From: David Scott <dave@xxxxxxxxxx>
  • Date: Wed, 15 Jun 2016 20:43:38 +0100
  • Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
  • Delivery-date: Wed, 15 Jun 2016 19:43:58 +0000
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=recoil.org; h=content-type :mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; q=dns; s= selector1; b=lMMAjocVOzqR1/nWGLmx9sn7cuwRBTZZojRsTeeYZMLUZPaR/0Z wYMsemDuMjPphDla8NSY4nLJYzd9OeIkyc90szlyvOM1u9yyv31vSraMlarssPY5 LrgQT98D6SKtw2z+TOxrTERjH4iJJRQtXMXpCiK9YzGfeWsosAEGFjFA=
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

> On 15 Jun 2016, at 12:15, Wei Liu <wei.liu2@xxxxxxxxxx> wrote:
> 
> Move default the pid file under XEN_RUN_DIR. Note that it changes the
> location from /var/run to /var/run/xen.
> 
> Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
> ---
> Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
> Cc: Dave Scott <dave@xxxxxxxxxx>
> ---
> tools/ocaml/xenstored/xenstored.ml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/ocaml/xenstored/xenstored.ml 
> b/tools/ocaml/xenstored/xenstored.ml
> index 30570ed..7ea4026 100644
> --- a/tools/ocaml/xenstored/xenstored.ml
> +++ b/tools/ocaml/xenstored/xenstored.ml
> @@ -81,7 +81,7 @@ let config_filename cf =
>       | Some name -> name
>       | None      -> Define.default_config_dir ^ "/oxenstored.conf"
> 
> -let default_pidfile = "/var/run/xenstored.pid"
> +let default_pidfile = Paths.xen_run_dir ^ "/xenstored.pid"
> 
> let ring_scan_interval = ref 20
> 
> -- 
> 2.1.4
> 

Looks fine to me.

Acked-by: David Scott <dave@xxxxxxxxxx>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.