mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
xenconsoled: honour XEN_RUN_DIR
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>
This commit is contained in:
1 parent
3e71c27052
commit
51a0ae4fd5
1 file changed
+1
-1
@@ -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())
|
||||
|
||||