Commit 7165a663 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Fixed PID file location for NGINX in logrotate config

parent 0830fcf2
......@@ -48,7 +48,7 @@ define NGINX_LOGROTATE
sharedscripts
compress
postrotate
/bin/kill -USR1 `cat /run/nginx/nginx.pid 2>/dev/null` 2> /dev/null || true
/bin/kill -USR1 `cat /run/nginx.pid 2>/dev/null` 2> /dev/null || true
endscript
}
......@@ -59,7 +59,7 @@ define NGINX_LOGROTATE
sharedscripts
compress
postrotate
/bin/kill -USR1 `cat /run/nginx/nginx.pid 2>/dev/null` 2> /dev/null || true
/bin/kill -USR1 `cat /run/nginx.pid 2>/dev/null` 2> /dev/null || true
endscript
}
endef
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment