#!/bin/sh
exec 1>&2

. /etc/inconcert/inconcert.conf
. /etc/inconcert/network.conf

NAME=notificationsservice

if [ "$DEBUG" != 0 ]; then
  NAME=${NAME}_d
fi

exec $NAME                                  							 \
  --localIP $LOCAL_IP                       							 \
  --localPort $NOTIFICATIONS_SERVICE_LOCAL_PORT							 \
  --configIP $CONFIG_IP                     							 \
  --configPort $CONFIG_PORT                 							 \
  --cluster $CLUSTER_ID                     							 \
  --clientThreads $NOTIFICATIONS_CLIENT_THREADS                     	 