Merge pull request #27 from ahmadsherif/patch-1

Create /var/log/nginx before running mkfifo
This commit is contained in:
Seth House 2014-06-24 13:44:38 -06:00
commit dc6757d2c9

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