Skip to content
Snippets Groups Projects
Commit 110e90c8 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis
Browse files

Skip check_initd_configured_correctly on omnibus installs

This was causing the task `gitlab-rake gitlab:incoming_email:check`
to fail.
parent 9e139255
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -679,6 +679,11 @@ namespace :gitlab do
def check_initd_configured_correctly
print "Init.d configured correctly? ... "
 
if omnibus_gitlab?
puts 'skipped (omnibus-gitlab has no init script)'.magenta
return
end
path = "/etc/default/gitlab"
 
if File.exist?(path) && File.read(path).include?("mail_room_enabled=true")
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