aboutsummaryrefslogtreecommitdiffstats
path: root/tools/misc
diff options
context:
space:
mode:
authoremellor@ewan <emellor@ewan>2005-10-11 14:55:12 +0100
committeremellor@ewan <emellor@ewan>2005-10-11 14:55:12 +0100
commitaf1b5637f43be85942027749777c21bee4d84e65 (patch)
tree272106a1a4c2527d73dc6f8d3d0040125468bf55 /tools/misc
parent490bab7b96c76d645c143e37a4adad5a3f597bbf (diff)
downloadxen-af1b5637f43be85942027749777c21bee4d84e65.tar.gz
xen-af1b5637f43be85942027749777c21bee4d84e65.tar.bz2
xen-af1b5637f43be85942027749777c21bee4d84e65.zip
Allow parallel 32- and 64-bit Xen installations. Move xc_save, xc_restore,
and xenconsole out of /usr/libexec/xen and into one of /usr/lib/xen/bin or /usr/lib64/xen/bin. Remove all the PATH hacking inside Xend, and rely upon the PATH being set correctly from outside. Added an auxbin module for handling the hacky stuff. Replace the few /usr/bin/python bang paths with /usr/bin/env python. Signed-off-by: Ewan Mellor <ewan@xensource.com>
Diffstat (limited to 'tools/misc')
-rw-r--r--tools/misc/xend7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/misc/xend b/tools/misc/xend
index e1a6b4f437..f2db3c100b 100644
--- a/tools/misc/xend
+++ b/tools/misc/xend
@@ -2,9 +2,10 @@
# -*- mode: python; -*-
#============================================================================
# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
+# Copyright (C) 2005 XenSource Ltd
#============================================================================
-"""Xen management daemon. Lives in /usr/sbin.
+"""Xen management daemon.
Provides console server and HTTP management api.
Run:
@@ -67,14 +68,14 @@ def check_user():
def start_xenstored():
XENSTORED_TRACE = os.getenv("XENSTORED_TRACE")
- cmd = "/usr/sbin/xenstored --pid-file=/var/run/xenstore.pid"
+ cmd = "xenstored --pid-file=/var/run/xenstore.pid"
if XENSTORED_TRACE:
cmd += " -T /var/log/xenstored-trace.log"
s,o = commands.getstatusoutput(cmd)
def start_consoled():
if os.fork() == 0:
- os.execvp('/usr/sbin/xenconsoled', ['/usr/sbin/xenconsoled'])
+ os.execvp('xenconsoled', ['xenconsoled'])
def main():
try: