aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>2005-01-22 21:45:39 +0000
committeriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>2005-01-22 21:45:39 +0000
commitbce79d6f9804897cef40c7e42f9b9cbe87b8a3f1 (patch)
treec71b0c048556e9d86e06294d505b34349528ef2a
parent2f2710b791a3061fab60d13491b1df26d79e2b5c (diff)
downloadxen-bce79d6f9804897cef40c7e42f9b9cbe87b8a3f1.tar.gz
xen-bce79d6f9804897cef40c7e42f9b9cbe87b8a3f1.tar.bz2
xen-bce79d6f9804897cef40c7e42f9b9cbe87b8a3f1.zip
bitkeeper revision 1.1159.223.22 (41f2c983tNSS8-VlWIzF9A78zTQx-w)
Description: add force-reload option Debian policy requires init scripts to implement force-reload. So, alias that to restart. From: Adam Heath <doogie@brainfood.com> Signed-off-by: ian.pratt@cl.cam.ac.uk
-rwxr-xr-xtools/examples/init.d/xend4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/examples/init.d/xend b/tools/examples/init.d/xend
index 39324c7930..fc94c17dd2 100755
--- a/tools/examples/init.d/xend
+++ b/tools/examples/init.d/xend
@@ -32,14 +32,14 @@ case "$1" in
status)
xend status
;;
- restart|reload)
+ restart|reload|force-reload)
xend restart
await_daemons_up
;;
*)
# do not advertise unreasonable commands that there is no reason
# to use with this device
- echo $"Usage: $0 {start|stop|status|restart|reload}"
+ echo $"Usage: $0 {start|stop|status|restart|reload|force-reload}"
exit 1
esac