Files
xen/tools/examples/init.d/xend
T
kaf24@freefall.cl.cam.ac.uk 90d122ec63 bitkeeper revision 1.1159.79.1 (414b5fab__RjPaRIcKFGQmiG7K6ggA)
SrvDaemon.py, xend:
  Xend daemonization fixes from Charles Coffing.
2004-09-17 22:05:31 +00:00

32 lines
510 B
Bash
Executable File

#!/bin/bash
#
# xend Script to start and stop the Xen control daemon.
#
# Author: Keir Fraser <keir.fraser@cl.cam.ac.uk>
#
# chkconfig: 2345 98 01
# description: Starts and stops the Xen control daemon.
case "$1" in
start)
xend start
;;
stop)
xend stop
;;
status)
xend status
;;
restart|reload)
xend restart
;;
*)
# do not advertise unreasonable commands that there is no reason
# to use with this device
echo $"Usage: $0 {start|stop|status|restart|reload}"
exit 1
esac
exit $?