#!/bin/bash
#

PRODUCT_PREFIX=nyq
PRODUCT_NAME=appliance
ULBIN=/usr/local/bin
LOG_FILE=/tmp/nyquist.log
PROD=$PRODUCT_PREFIX-$PRODUCT_NAME

UPARG=${1:-update}


echo "<br>"
echo " -- Restarting Nyquist $PRODUCT_NAME application"
APP_PID=$(pgrep appliance)
#echo "APP_PID = $APP_PID"

kill -HUP $APP_PID

#echo "<br>"
#echo " -- Nyquist $PRODUCT_NAME has been restarted!!"
#echo "<br>"

