summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/envoy5
-rwxr-xr-xbin/spicedb8
2 files changed, 13 insertions, 0 deletions
diff --git a/bin/envoy b/bin/envoy
index ede6290c..5f2ea9ca 100755
--- a/bin/envoy
+++ b/bin/envoy
@@ -1,3 +1,8 @@
#!/bin/sh
+if ! command -v envoy >/dev/null 2>&1; then
+ echo "Install envoy: https://www.envoyproxy.io/docs/envoy/latest/start/install"
+ exit 1
+fi
+
exec envoy $@
diff --git a/bin/spicedb b/bin/spicedb
new file mode 100755
index 00000000..5d4cf0bb
--- /dev/null
+++ b/bin/spicedb
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if ! command -v spicedb >/dev/null 2>&1; then
+ echo "Install spicedb: https://authzed.com/docs/spicedb/getting-started/installing-spicedb"
+ exit 1
+fi
+
+exec spicedb $@