diff options
author | root <root@rshg054.dnsready.net> | 2013-09-06 01:39:14 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-09-06 01:39:14 -0700 |
commit | 670cfaf55e53f7380ca8ee7b4acb2bf0248685c4 (patch) | |
tree | 93a452c84aa492d51f56911d74a8fcbbd496b550 /community/nginx/install | |
parent | f7a2cf07dfae6a6707525e05f4f7f1998b382c4d (diff) |
Fri Sep 6 01:39:05 PDT 2013
Diffstat (limited to 'community/nginx/install')
-rw-r--r-- | community/nginx/install | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/community/nginx/install b/community/nginx/install new file mode 100644 index 000000000..7c4adf14b --- /dev/null +++ b/community/nginx/install @@ -0,0 +1,21 @@ +post_upgrade() { + if (( $(vercmp $2 1.2.7-4) <= 0 )); then + chmod 750 var/log/nginx + chown http:log var/log/nginx + fi + if (( $(vercmp $2 1.2.1-2) <= 0 )); then + echo ' >>> Since 1.2.1-2 several changes has been made in package:' + echo ' - *.conf files have been moved to /etc/nginx' + echo ' - /etc/conf.d/nginx has been removed' + echo ' Main configuration file is set to /etc/nginx/nginx.conf' + echo ' - access.log and error.log can be found in /var/log/nginx by default' + echo ' - bundled *.html files have been moved to /usr/share/nginx/html' + echo ' - /etc/nginx/{html,logs} symbolic links and *.default files have been removed' + fi + if (( $(vercmp $2 1.4.2-4) < 0 )); then + echo 'Nginx now includes only upstream bundled modules.' + echo 'Thus, passenger module support was dropped.' + fi +} + +# vim:set ts=4 sw=4 et: |