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
|
@ -22,4 +22,4 @@ VOLUME /opt/vault/data
|
|||
|
||||
ENTRYPOINT ["/bin/sh", "-c"]
|
||||
ENV SSL_CERT_FILE=/etc/ssl/certs/ca-bundle.crt
|
||||
CMD [ "echo vault in SGX mode starting; restart-aesmd ; exec gramine-sgx vault" ]
|
||||
CMD [ "echo vault in SGX mode starting; [[ -r /var/run/aesmd/aesm.socket ]] || restart-aesmd ; exec gramine-sgx vault" ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue