This is my code, I don’t understand it completely. I would really appreciate your help
#!/bin/sh
set -e
envsubst < /etc/nginx/default.conf.tpl > /etc/nginx/conf.d/default.conf
nginx -g 'daemon off;'
This is my code, I don’t understand it completely. I would really appreciate your help
#!/bin/sh
set -e
envsubst < /etc/nginx/default.conf.tpl > /etc/nginx/conf.d/default.conf
nginx -g 'daemon off;'
2
Answers
it is flag for
sh
you can look atman sh
its descriptionIt’s not an Nginx thing, it’s a Unix shell thing, the
set
command.set -e
means: