projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e71c27
)
xenconsoled: honour XEN_RUN_DIR
author
Wei Liu
<wei.liu2@citrix.com>
Mon, 11 Jul 2016 17:28:03 +0000
(18:28 +0100)
committer
Wei Liu
<wei.liu2@citrix.com>
Wed, 20 Jul 2016 15:07:10 +0000
(16:07 +0100)
Place the PID file under XEN_RUN_DIR by default. Note this change the
default location from /var/run to /var/run/xen.
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/console/daemon/main.c
patch
|
blob
|
history
diff --git
a/tools/console/daemon/main.c
b/tools/console/daemon/main.c
index 20e35131e4cf1c39448b76fdfaaa3c03fead2308..806d2fd611aa41b8124a95d2fbe5b67f1af05581 100644
(file)
--- a/
tools/console/daemon/main.c
+++ b/
tools/console/daemon/main.c
@@
-193,7
+193,7
@@
int main(int argc, char **argv)
increase_fd_limit();
if (!is_interactive) {
- daemonize(pidfile ? pidfile :
"/var/run
/xenconsoled.pid");
+ daemonize(pidfile ? pidfile :
XEN_RUN_DIR "
/xenconsoled.pid");
}
if (!xen_setup())