occlum/tools/docker/start_aesm.sh
2019-10-18 13:40:09 +00:00

6 lines
168 B
Bash
Executable File

#!/bin/bash
# Start AESM service required by Intel SGX SDK if it is not running
if ! pgrep "aesm_service" > /dev/null ; then
/opt/intel/sgxpsw/aesm/aesm_service
fi