projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dedb221
)
oxenstored: honour XEN_RUN_DIR
author
Wei Liu
<wei.liu2@citrix.com>
Mon, 11 Jul 2016 17:28:09 +0000
(18:28 +0100)
committer
Wei Liu
<wei.liu2@citrix.com>
Wed, 20 Jul 2016 15:08:28 +0000
(16:08 +0100)
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@citrix.com>
Acked-by: David Scott <dave@recoil.org>
tools/ocaml/xenstored/xenstored.ml
patch
|
blob
|
history
diff --git
a/tools/ocaml/xenstored/xenstored.ml
b/tools/ocaml/xenstored/xenstored.ml
index 30570eda745d8271568662835c07ec0c9feba581..7ea40262733bb017daf9cf2a953190e80a3f6382 100644
(file)
--- 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