Update nginx.sh

This commit is contained in:
wt
2026-03-01 21:11:30 +07:00
parent 8a72f0c048
commit 891c2fe3ed
+1 -1
View File
@@ -34,7 +34,7 @@ nginx_build() {
check $? "Installing to rootfs ${pkgname}"
cat << EOF > $rootfspath/etc/finit.d/available/nginx.conf
run [S] mkdir -p /run/nginx /var/log/nginx /var/cache/nginx
run [S] chown -R nginx:nginx /run/nginx 2>/dev/null || chown -R nobody:nobody /run/nginx 2>/dev/null || true
run [S] chown -R nobody:nobody /run/nginx
service [2345] \\
pid:/run/nginx/nginx.pid \\