mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-17 08:36:06 +10:00
Skip check_initd_configured_correctly on omnibus installs
This was causing the task `gitlab-rake gitlab:incoming_email:check` to fail.
This commit is contained in:
committed by
Robert Speicher
parent
73df99f700
commit
9911f86c3d
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user