Fix broken environment variable removal
Hard-code the environment dir for gitlab-rails
Set PATH and RAILS_ENV via the env directory
Set the environment for gitlab-rake via chpst

Also for gitlab-rails. Note that this change drops the undocumented
ability to start gitlab-rails or gitlab-rake with a RAILS_ENV other than
production.
Configure bundle exec wrapper with gitlab-rails-rc

This takes the magic $(ls | awk) out of gitlab-rake and gitlab-rails.
Simplify env directory permissions
Updated README.md with path where attachments are stored.
Drop misleading info about smtp settings. It is now supported in gitlab.rb.
Merge branch 'drop_old_info' into 'master'

Drop old info about smtp settings in update doc

See merge request !219
Revert "Simplify env directory permissions"

This reverts commit e11a59e29684bd428f67a0ecfbbdcd61745b506f.

0500 does not give enough protection.
Merge branch 'master' into 'master'

List path where attachments are stored in README

I had to do some digging to find out where attachments/uploads are stored, since I want to put it on an NFS mount.  It'd be helpful to display this in the README.

See merge request !214
Merge branch 'improve_env' into 'master'

Improve handling of environment variables for gitlab-rails

This MR fixes two things related to ENV variables for Rails processes.
- proper deletion of ENV variables when they get removed from gitlab.rb
- sharing the same ENV for Unicorn, Sidekiq, `gitlab-rake` and `gitlab-rails`

In addition this removes some dynamic checks (who is the `git` user) from
`gitlab-rake` and `gitlab-rails` in favor of a static file generated by
`gitlab-ctl reconfigure`.

See merge request !213
Include logrotate in the build
Add logrotate to the embedded cookbook
Documentation for the logrotate service
Move CHANGELOG entries to 7.4.0
Run logrotate at reduced priority (higher 'nice')
Merge branch 'fix_changelog' into 'master'

Move CHANGELOG entries to 7.4.0

See merge request !221
Use the same ssl ciphers as recommended in GitLab.
Unicorn worker timeout to 60s.