Commit 2dbecad6c40eda0145abf7af2460de7f18a47e6e

Authored by Jacob Vosmaer
1 parent 3c94b587

Write nginx.pid in /var/opt/gitlab/nginx

It turns out that nginx writes this somewhere in /opt/gitlab by default.
The no-empty-directories policy of omnibus-ruby 3.0 broke that.
files/gitlab-cookbooks/gitlab/templates/default/nginx.conf.erb
1 1 user <%= node['gitlab']['user']['username'] %> <%= node['gitlab']['user']['username']%>;
2 2 worker_processes <%= @worker_processes %>;
3 3 error_log /var/log/gitlab/nginx/error.log;
  4 +pid /var/opt/gitlab/nginx/nginx.pid;
4 5  
5 6 daemon off;
6 7  
... ...