direct-io.hg

changeset 3495:dde87d5385db

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
author iap10@labyrinth.cl.cam.ac.uk
date Sat Jan 22 21:45:39 2005 +0000 (2005-01-22)
parents 4bbe824cb519
children 5d3cf5e4272d
files tools/examples/init.d/xend
line diff
     1.1 --- a/tools/examples/init.d/xend	Sat Jan 22 21:43:33 2005 +0000
     1.2 +++ b/tools/examples/init.d/xend	Sat Jan 22 21:45:39 2005 +0000
     1.3 @@ -32,14 +32,14 @@ case "$1" in
     1.4    status)
     1.5  	xend status
     1.6  	;;
     1.7 -  restart|reload)
     1.8 +  restart|reload|force-reload)
     1.9  	xend restart
    1.10  	await_daemons_up
    1.11  	;;
    1.12    *)
    1.13  	# do not advertise unreasonable commands that there is no reason
    1.14  	# to use with this device
    1.15 -	echo $"Usage: $0 {start|stop|status|restart|reload}"
    1.16 +	echo $"Usage: $0 {start|stop|status|restart|reload|force-reload}"
    1.17  	exit 1
    1.18  esac
    1.19