Sfoglia il codice sorgente

Merge pull request #27 from ahmadsherif/patch-1

Create /var/log/nginx before running mkfifo
susefix
Seth House 10 anni fa
parent
commit
dc6757d2c9
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. +1
    -0
      nginx/templates/upstart-logger.jinja

+ 1
- 0
nginx/templates/upstart-logger.jinja Vedi 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…
Annulla
Salva