comparison scripts/opendiam-run.sh @ 0:9e5a3c884de6

Initial import of the virtual testbed.
author Sebastien Decugis <sdecugis@nict.go.jp>
date Thu, 17 Jun 2010 11:00:32 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:9e5a3c884de6
1 #!/bin/bash -x
2
3 DATE=`date +%Y%m%d-%H%M%S`;
4 HOST=`hostname --fqdn`;
5
6 ulimit -c 1000000
7 rm -f core*
8
9 # OpenDiameter without TLS
10 #echo od-$HOST-$DATE.log > /home/aaa/logs/LATEST-$HOST-od.log
11 # /usr/bin/aaad /etc/opendiameter/aaad/config/aaad.xml 2>&1 | tee -i /home/aaa/logs/od-$HOST-$DATE.log
12
13 # OpenDiameter with TLS
14 pushd /root/opendiameter
15 make || exit 1
16 popd
17 pushd /root/conf/opendiameter-tls
18 echo ods-$HOST-$DATE.log > /home/aaa/logs/LATEST-$HOST-ods.log
19 /root/opendiameter/libdiametereap/server_test_tls 2>&1 | tee -i /home/aaa/logs/ods-$HOST-$DATE.log
20 popd
"Welcome to our mercurial repository"