occlum/demos/ra_tls/run.sh
yuanwu 2810b8e4ce Enable the grpc ra-tls demo
Signed-off-by: yuanwu <yuan.wu@intel.com>
2022-03-09 15:53:45 +08:00

16 lines
273 B
Bash
Executable File

#!/bin/bash
set -ex
postfix=$1
if [ "$postfix" != "server" ] && [ "$postfix" != "client" ]; then
echo "input error args, it should be:"
echo "./run.sh server"
echo "./run.sh client"
exit 1
fi
pushd occlum_instance_$postfix
occlum run /bin/$postfix
popd