#!/bin/sh
# chkconfig: 345 80 15
# description: Web Content Distributor
# processname: fpic
# pidfile: /var/run/wcdd.pid

# Source function library.
. /etc/rc.d/init.d/functions

# See how we were called.
case "$1" in
  start)
	echo -n "Starting WCD: "
	daemon /usr/ins/intel/bin/wcdd
	echo 
	;;
  stop)
	echo -n "Stopping WCD: "
	killproc wcdd -INT
	echo 
	;;
  restart)
	$0 stop
	$0 start
	;;
  reload)
	echo -n "Reloading WCD: "
	killproc wcdd -HUP
	echo
	;;
  *)
	echo "Usage: $0 {start|stop|restart|reload}"
	exit 1
esac

exit 0
