summarylogtreecommitdiffstats
path: root/openresty.sh
diff options
context:
space:
mode:
Diffstat (limited to 'openresty.sh')
-rwxr-xr-xopenresty.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/openresty.sh b/openresty.sh
new file mode 100755
index 000000000000..dd0c3e907e17
--- /dev/null
+++ b/openresty.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -d /opt/openresty/bin ] && PATH=$PATH:/opt/openresty/bin
+[ -d /opt/openresty/nginx/sbin ] && PATH=$PATH:/opt/openresty/nginx/sbin
+export PATH