Skip to content
Snippets Groups Projects
Commit 435e0ef1 authored by Ian Baum's avatar Ian Baum
Browse files

Update service name for geo-postgresql recipe

* Service should be geo-postgresql instead of postgresql
* Remove user so it runs as root.
parent 93e06954
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -158,16 +158,14 @@ if node['gitlab']['geo-postgresql']['enable']
end
 
execute 'reload postgresql' do
command %(/opt/gitlab/bin/gitlab-ctl hup postgresql)
user postgresql_username
command %(/opt/gitlab/bin/gitlab-ctl hup geo-postgresql)
retries 20
action :nothing
only_if { pg_helper.is_running? }
end
 
execute 'start postgresql' do
command %(/opt/gitlab/bin/gitlab-ctl start postgresql)
user postgresql_username
command %(/opt/gitlab/bin/gitlab-ctl start geo-postgresql)
retries 20
action :nothing
not_if { pg_helper.is_running? }
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment