Skip to content

Commit 56c8a84

Browse files
author
Will Chandler
committed
Run gitaly with 'serve' subcommand
Gitaly has added several subcommands over the last few years. Execute Gitaly using the `serve` subcommand, rather then without a subcommand, which implicitly calls `serve`. Changelog: changed
1 parent 7d56082 commit 56c8a84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

files/gitlab-cookbooks/gitaly/templates/default/sv-gitaly-run.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ exec chpst -e <%= @options[:env_dir] %> -P \
2525
-U <%= @options[:user] %>:<%= @options[:groupname] %> \
2626
-u <%= @options[:user] %>:<%= @options[:groupname] %> \
2727
<% if @options[:use_wrapper] %>
28-
<%= @options[:wrapper_path] %> <%= @options[:bin_path] %> <%= @options[:config_path] %>
28+
<%= @options[:wrapper_path] %> <%= @options[:bin_path] %> serve <%= @options[:config_path] %>
2929
<% else %>
30-
<%= @options[:bin_path] %> <%= @options[:config_path] %>
30+
<%= @options[:bin_path] %> serve <%= @options[:config_path] %>
3131
<% end %>

0 commit comments

Comments
 (0)