Create /var/log/nginx before running mkfifo
This commit is contained in:
parent
5164152de7
commit
6a9efa774d
@ -8,6 +8,7 @@ respawn
|
||||
|
||||
pre-start script
|
||||
if [ ! -r /var/log/nginx/{{ type }}.fifo ]; then
|
||||
mkdir -p /var/log/nginx
|
||||
mkfifo /var/log/nginx/{{ type }}.fifo
|
||||
chown root.root /var/log/nginx/{{ type }}.fifo
|
||||
chmod 660 /var/log/nginx/{{ type }}.fifo
|
||||
|
Loading…
Reference in New Issue
Block a user