View | Details | Raw Unified | Return to bug 7238
Collapse All | Expand All

(-)a/misc/bin/sip_run.sh (-6 / +10 lines)
Lines 26-37 done; Link Here
26
unset x;
26
unset x;
27
cd $PERL5LIB/C4/SIP;
27
cd $PERL5LIB/C4/SIP;
28
echo;
28
echo;
29
echo Running from `pwd`;
30
29
31
sipconfig=${1:-`pwd`/SIPconfig.xml};
30
sipconfig=${1};
32
outfile=${2:-$HOME/sip.out};
31
outfile=${2:-$HOME/sip.out};
33
errfile=${3:-$HOME/sip.err};
32
errfile=${3:-$HOME/sip.err};
34
33
35
echo "Calling (backgrounded):";
34
if [ $sipconfig ]; then
36
echo "perl -I./ ./SIPServer.pm $sipconfig >>$outfile 2>>$errfile";
35
	echo "Running with config file located in $sipconfig" ;
37
perl -I./ ./SIPServer.pm $sipconfig >>$outfile 2>>$errfile &
36
	echo "Calling (backgrounded):";
37
	echo "perl -I./ ./SIPServer.pm $sipconfig >>$outfile 2>>$errfile";
38
	perl -I./ ./SIPServer.pm $sipconfig >>$outfile 2>>$errfile &
39
40
else
41
	echo "Please specify a config file and try again."
42
fi
38
- 

Return to bug 7238