diff options
Diffstat (limited to 'community/nginx/nginx.install')
-rw-r--r-- | community/nginx/nginx.install | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/community/nginx/nginx.install b/community/nginx/nginx.install index b31ee41d7..0daccc639 100644 --- a/community/nginx/nginx.install +++ b/community/nginx/nginx.install @@ -1,4 +1,8 @@ post_upgrade() { + if [[ $(vercmp $2 1.2.7-4) -le 0 ]]; then + chmod 750 var/log/nginx + chown http:log var/log/nginx + fi if [[ $(vercmp $2 1.2.1-2) -le 0 ]]; then echo " >>> Since 1.2.1-2 several changes has been made in package:" echo " - *.conf files have been moved to /etc/nginx" |