PTFS-Europe/SEDAR-Evergreen — Issue #14: oils_ctl.sh only supports one SIP2 port
Author: jonathanfield
Created: 2011-11-09 15:14:41+00:00
State: open

Amended oils_ctl.sh to allow multiple SIP2 processes to be start on different ports.

OPT_SIP_PORT=""

while getopts "a:d:s:l:p:" flag; do
case $flag in
"a") OPT_ACTION="$OPTARG";;
"s") OPT_SIP_CONFIG="$OPTARG";;
"d") OPT_PID_DIR="$OPTARG";;
"l") OPT_SIP_ERR_LOG="$OPTARG";;
"p") OPT_SIP_PORT="$OPTARG";;
"h"|*) usage;;

PID_SIP="$OPT_PID_DIR/oils_sip_$OPT_SIP_PORT.pid";