nginx: Arreglar restart

This commit is contained in:
Cat /dev/Nulo 2022-06-18 15:24:22 -03:00
parent 8437ca9161
commit 24a1dd98a8

View file

@ -4,6 +4,6 @@ modules.fstab.add_tmpfs("/var/lib/nginx/tmp")
modules.data.add_data_dir("/data/nginx/logs", "/var/log/nginx", "nginx", "nginx") modules.data.add_data_dir("/data/nginx/logs", "/var/log/nginx", "nginx", "nginx")
modules.runit.add_service("nginx", [[#!/bin/sh modules.runit.add_service("nginx", [[#!/bin/sh
exec 2>&1 exec 2>&1
mkdir /run/nginx || exit 1 mkdir -p /run/nginx || exit 1
exec nginx -g 'daemon off;' exec nginx -g 'daemon off;'
]]) ]])