#!/bin/bash

###########################################################
# ualf init script
# Gets installed in /etc/init.d
#
# chkconfig: 345 99 0 
# description: ualf
###########################################################

start() {
echo -n "Starting UalfRelayIn : "
su -l operator -c /usr/sigmet/config/pipes/UalfRelayIn 
#${start_ualf}
echo "done."
}
stop() {
echo -n "Shutting down UalfRelayIn: "
/usr/bin/killall UalfRelayIn
echo "done."
echo ${stop_ualf} 
}

# See how we were called
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
sleep 5
start
;;
*)
echo "Usage: $0 {start|stop|restart}"
esac

exit 0
