mirror of
https://github.com/matter-labs/teepot.git
synced 2025-07-21 15:13:56 +02:00
fix: only restart aesmd
if aesm.socket
is not readable
Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
parent
0b25ccc492
commit
284393bf76
5 changed files with 5 additions and 5 deletions
|
@ -20,4 +20,4 @@ EXPOSE 8443
|
|||
|
||||
ENTRYPOINT ["/bin/sh", "-c"]
|
||||
ENV SSL_CERT_FILE=/etc/ssl/certs/ca-bundle.crt
|
||||
CMD [ "restart-aesmd >&2; exec gramine-sgx tee-self-attestation-test" ]
|
||||
CMD [ "[[ -r /var/run/aesmd/aesm.socket ]] || restart-aesmd >&2; exec gramine-sgx tee-self-attestation-test" ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue