Skip to content

Commit

Permalink
Update example scripts
Browse files Browse the repository at this point in the history
* Update nitriding command in `start.sh` to match current argument
  naming.
* Replace `pkill` with `kill` as `pkill` is unnecessary and not always
  available.
  • Loading branch information
jalaziz committed Feb 5, 2024
1 parent 2bb40ff commit 80c6b0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/run-enclave.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ nitro-cli run-enclave \
--attach-console

echo "[ec2] Stopping gvproxy."
sudo pkill -INT -P "$pid"
sudo kill -INT "$pid"
2 changes: 1 addition & 1 deletion example/start.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 80c6b0c

Please sign in to comment.