fix(nginx)

closes #5212
This commit is contained in:
Jacob Heider 2024-03-21 18:28:39 -04:00 committed by Jacob Heider
parent 7ace20dd19
commit 8903641dbb

View file

@ -26,6 +26,9 @@ provides:
- sbin/nginx - sbin/nginx
test: test:
script: | script:
sed -i.bak -e 's/80/8080/g' {{prefix}}/conf/nginx.conf # won't run without `nogroup`
nginx -p {{prefix}} -c {{prefix}}/conf/nginx.conf -t - run: if ! getent group nogroup; then exit 0; fi
if: linux
- sed -i.bak -e 's/80/8080/g' {{prefix}}/conf/nginx.conf
- nginx -p {{prefix}} -c {{prefix}}/conf/nginx.conf -t