#!/bin/sh

. /lib/lsb/init-functions

case "${1}" in
   start)
     log_info_msg "Starting connmand ..."
     start_daemon /usr/bin/connmand
     ;;
   stop)
     log_info_msg "Stopping connmand ..."
     killproc /usr/bin/connmand
     ;;
   restart)
    ${0} stop
    sleep 1
    ${0} start
    ;;

  *)
    echo "Usage: ${0} {start|stop|restart}"
    exit 1

esac

exit 0
