#!/bin/sh
# description: Start/stop gatorftpwatch
# chkconfig: 2345 99 99

case "$1" in
'start')
        /root/bin/gatorftpwatch --start
       RETVAL=$?
       ;;
'stop')
        /root/bin/gatorftpwatch --stop
       RETVAL=$?
       ;;
'restart')
        /root/bin/gatorftpwatch --stop
        /root/bin/gatorftpwatch --start
       RETVAL=$?
       ;;
*)
       echo "Usage: $0 { start | stop | restart }"
       RETVAL=1
       ;;
esac
exit $RETVAL
