nginx: Arreglar restart
This commit is contained in:
parent
8437ca9161
commit
24a1dd98a8
1 changed files with 1 additions and 1 deletions
|
@ -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.runit.add_service("nginx", [[#!/bin/sh
|
||||
exec 2>&1
|
||||
mkdir /run/nginx || exit 1
|
||||
mkdir -p /run/nginx || exit 1
|
||||
exec nginx -g 'daemon off;'
|
||||
]])
|
||||
|
|
Loading…
Reference in a new issue