#! /bin/bash
# Owner: root
WORK_DIR=/usr/local/bin
if [ -f $WORK_DIR/appenv ];then
	. $WORK_DIR/appenv
fi

case $1 in
	start)
		
		$WORK_DIR/gnhostlinux

		;;
	stop)
		killall -9 gnhostlinux
		;;
	restart)
		$0 stop
		$0 start
		;;
	*)
		echo "Usage: $0 [start|stop|restart|help]"
		;;
esac 
