Commit a110670cf9cf68965a2305d5338fdf5ea360ddce
1 parent
0e092d47
Exists in
master
and in
17 other branches
Rename runit templates for new unicorn service
Showing
4 changed files
with
8 additions
and
8 deletions
Show diff stats
files/gitlab-cookbooks/gitlab/templates/default/sv-gitlab-core-log-run.erb
files/gitlab-cookbooks/gitlab/templates/default/sv-gitlab-core-run.erb
... | ... | @@ -1,6 +0,0 @@ |
1 | -#!/bin/sh | |
2 | - | |
3 | -cd /opt/gitlab/embedded/service/gitlab-core | |
4 | - | |
5 | -exec 2>&1 | |
6 | -exec chpst -P -U <%= node['gitlab']['user']['username'] %> -u <%= node['gitlab']['user']['username'] %> /usr/bin/env HOME="<%= node['gitlab']['gitlab-core']['dir'] %>" /opt/gitlab/embedded/bin/bundle exec unicorn -E <%= node['gitlab']['gitlab-core']['environment'] %> -c <%= File.join(node['gitlab']['gitlab-core']['dir'], "etc", "unicorn.rb") %> /opt/gitlab/embedded/service/gitlab-core/config.ru |
files/gitlab-cookbooks/gitlab/templates/default/sv-unicorn-log-run.erb
0 → 100644
files/gitlab-cookbooks/gitlab/templates/default/sv-unicorn-run.erb
0 → 100644
... | ... | @@ -0,0 +1,6 @@ |
1 | +#!/bin/sh | |
2 | + | |
3 | +cd /opt/gitlab/embedded/service/gitlab-core | |
4 | + | |
5 | +exec 2>&1 | |
6 | +exec chpst -P -U <%= node['gitlab']['user']['username'] %> -u <%= node['gitlab']['user']['username'] %> /usr/bin/env HOME="<%= node['gitlab']['gitlab-core']['dir'] %>" /opt/gitlab/embedded/bin/bundle exec unicorn -E <%= node['gitlab']['gitlab-core']['environment'] %> -c <%= File.join(node['gitlab']['gitlab-core']['dir'], "etc", "unicorn.rb") %> /opt/gitlab/embedded/service/gitlab-core/config.ru | ... | ... |