From 011b45899850d1451640d2923f35dfd7c8557370 Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Thu, 22 May 2014 18:23:07 +0200 Subject: [PATCH] Use sysvinit for Debian --- files/gitlab-cookbooks/runit/recipes/default.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/files/gitlab-cookbooks/runit/recipes/default.rb b/files/gitlab-cookbooks/runit/recipes/default.rb index fc97e83..43b44aa 100644 --- a/files/gitlab-cookbooks/runit/recipes/default.rb +++ b/files/gitlab-cookbooks/runit/recipes/default.rb @@ -19,7 +19,12 @@ case node["platform_family"] when "debian" - include_recipe "runit::upstart" + case node["platform"] + when "debian" + include_recipe "runit::sysvinit" + else + include_recipe "runit::upstart" + end when "rhel" case node["platform"] when "amazon", "xenserver" -- libgit2 0.21.2