#!/bin/bash
case "$1" in
'start')
keactrl start
;;
'stop')
keactrl stop
'restart')
'reload')
keactrl reload
'status')
keactrl status
*)
echo "usage $0 start|stop|restart|reload|status"
esac