From a1fc89d2757920f2d8b94f2e26f4cacecfc577fe Mon Sep 17 00:00:00 2001 From: Jameel Al-Aziz Date: Wed, 27 Dec 2023 13:44:14 +0300 Subject: [PATCH] Update example scripts * Update nitriding command in `start.sh` to match current argument naming. * Replace `pkill` with `kill` as `pkill` is unnecessary and not always available. --- example/run-enclave.sh | 2 +- example/start.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/example/run-enclave.sh b/example/run-enclave.sh index 12df2b1..78848b1 100755 --- a/example/run-enclave.sh +++ b/example/run-enclave.sh @@ -27,4 +27,4 @@ nitro-cli run-enclave \ --attach-console echo "[ec2] Stopping gvproxy." -sudo pkill -INT -P "$pid" +sudo kill -INT "$pid" diff --git a/example/start.sh b/example/start.sh index 928e1c2..b8abe10 100755 --- a/example/start.sh +++ b/example/start.sh @@ -1,6 +1,6 @@ #!/bin/sh -nitriding -fqdn example.com -extport 443 -intport 8080 & +nitriding -fqdn example.com -ext-pub-port 443 -intport 8080 -wait-for-app & echo "[sh] Started nitriding." sleep 1