Browse Source

Create /var/log/nginx before running mkfifo

tags/v0.55.0
Ahmad Sherif 10 years ago
parent
commit
6a9efa774d
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      nginx/templates/upstart-logger.jinja

+ 1
- 0
nginx/templates/upstart-logger.jinja View File

@@ -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…
Cancel
Save