#! /bin/sh
### BEGIN INIT INFO
# Provides:          conceptserver
# Required-Start:
# Required-Stop:
# Should-Stop:       halt reboot
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Concept Application Server
### END INIT INFO

case "$1" in
  start)
    echo "Starting Concept Application Server"
    /usr/local/bin/conceptserver&
    ;;
  stop)
    echo "Stopping Concept Application Server"
    killall conceptserver
    killall conceptservice
    killall runsafe
    ;;
  *)
    echo "Usage: /etc/init.d/$0 {start|stop}"
    exit 1
    ;;
esac

exit 0
