1 2 3 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